Member show on Activate and Hide on deactivate from channel member list and at_mention

Этот коммит содержится в:
Elias Nahum
2016-02-25 04:24:03 -03:00
родитель 6f319fc64c
Коммит f0084229a5
6 изменённых файлов: 93 добавлений и 1 удалений

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

@@ -1510,6 +1510,8 @@ func UpdateActive(c *Context, user *model.User, active bool) *model.User {
RevokeAllSession(c, user.Id)
}
<-Srv.Store.Channel().ExtraUpdateByUser(user.Id, model.GetMillis())
ruser := result.Data.([2]*model.User)[0]
options := utils.Cfg.GetSanitizeOptions()
options["passwordupdate"] = false