Fixing system messages about non-visible users (#14254)

* Fixing system messages about non-visible users

* Adding unit tests to verify the new behavior

* Regenerating app layers

Co-authored-by: mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
Jesús Espino
2020-04-28 12:58:34 +02:00
коммит произвёл GitHub
родитель 224b72c61e
Коммит 8781c36eb3
4 изменённых файлов: 63 добавлений и 1 удалений

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

@@ -463,6 +463,7 @@ type AppIface interface {
FileExists(path string) (bool, *model.AppError)
FillInChannelProps(channel *model.Channel) *model.AppError
FillInChannelsProps(channelList *model.ChannelList) *model.AppError
FilterUsersByVisible(viewer *model.User, otherUsers []*model.User) ([]*model.User, *model.AppError)
FindTeamByName(name string) bool
GenerateMfaSecret(userId string) (*model.MfaSecret, *model.AppError)
GeneratePublicLink(siteURL string, info *model.FileInfo) string