MM-16477 Add api to get users modified since a given time (#11406)
* MM-16477 Add api to get users modified since a given time * Address feedback
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
89a41dc381
Коммит
4b96437370
@@ -66,7 +66,7 @@ func replaceUserIds(userStore store.UserStore, text string) string {
|
||||
userIds = append(userIds, match[1])
|
||||
}
|
||||
|
||||
if res := <-userStore.GetProfileByIds(userIds, true, nil); res.Err == nil {
|
||||
if res := <-userStore.GetProfileByIds(userIds, nil, true); res.Err == nil {
|
||||
for _, user := range res.Data.([]*model.User) {
|
||||
text = strings.Replace(text, "<@"+user.Id+">", "@"+user.Username, -1)
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user