when sync'ing users make sure the user's remoteid matches the remote issuing the update (#27203)

Этот коммит содержится в:
Doug Lauder
2024-06-04 05:30:18 -04:00
коммит произвёл GitHub
родитель 11c2951afa
Коммит 5114c3b7cd
2 изменённых файлов: 22 добавлений и 1 удалений

Просмотреть файл

@@ -148,3 +148,10 @@ func reducePostsSliceInCache(posts []*model.Post, cache map[string]*model.Post)
}
return reduced
}
func SafeString(p *string) string {
if p == nil {
return ""
}
return *p
}