[Gekidou] update dependencies (#6019)

* Dependency updates

* npm audit fixes
This commit is contained in:
Elias Nahum
2022-03-01 18:52:01 -03:00
committed by GitHub
parent 5de54471b7
commit eaf4f3166e
28 changed files with 2276 additions and 3393 deletions

View File

@@ -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;