MM-57824: Export/import custom status (#27361)

https://mattermost.atlassian.net/browse/MM-57824
```release-note
NONE
```

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Agniva De Sarker
2024-07-08 09:41:25 +05:30
коммит произвёл GitHub
родитель b596430920
Коммит db45c0132e
5 изменённых файлов: 52 добавлений и 1 удалений

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

@@ -469,6 +469,11 @@ func (a *App) exportAllUsers(ctx request.CTX, job *model.Job, writer io.Writer,
userLine.User.NotifyProps = a.buildUserNotifyProps(user.NotifyProps)
// Adding custom status
if cs := user.GetCustomStatus(); cs != nil {
userLine.User.CustomStatus = cs
}
// Do the Team Memberships.
members, err := a.buildUserTeamAndChannelMemberships(ctx, user.Id, includeArchivedChannels)
if err != nil {