forked from Ivasoft/mattermost-mobile
[Gekidou] update dependencies (#6019)
* Dependency updates * npm audit fixes
This commit is contained in:
@@ -36,6 +36,9 @@ export const transformChannelRecord = ({action, database, value}: TransformerArg
|
||||
channel.createAt = raw.create_at;
|
||||
channel.creatorId = raw.creator_id;
|
||||
channel.deleteAt = raw.delete_at;
|
||||
|
||||
// for DM channels do not override the display name
|
||||
// until we get the new info if there is any
|
||||
channel.displayName = raw.display_name || record?.displayName || '';
|
||||
channel.isGroupConstrained = Boolean(raw.group_constrained);
|
||||
channel.name = raw.name;
|
||||
|
||||
Reference in New Issue
Block a user