forked from Ivasoft/mattermost-mobile
[Gekidou MM-39728] - Websocket Events - Channels (#6038)
* wip checkin * wip checkin because my system is messed up again * correct the add user and remove user from channel functions. THe user and channel ids sometimes come from the broudcast field, not the data object * remove old comments * remove old comments * remove old comments * add back in unarchive handler. handleChannelUpdateEvent will also update the deleteAt value for a channel, but does not get called when unarchive from the channel view, only through the system console. * nit remove empty line * wip * wip * remove handleChannelConvertedEvent * remove handleChannelDirectAddedEvent * wip * wip * wip * Fix websockets events * Address feedback * Ensure categories and some refactoring * Self review fixes * Fix category creation bug * Address feedback and minor improvements * Address feedback * Fix lint Co-authored-by: Daniel Espino García <larkox@gmail.com>
This commit is contained in:
@@ -113,7 +113,7 @@ const ChannelHandler = (superclass: any) => class extends superclass {
|
||||
}
|
||||
|
||||
const createOrUpdateRawValues = getUniqueRawsBy({
|
||||
raws: channelInfos,
|
||||
raws: channelInfos as ChannelInfo[],
|
||||
key: 'id',
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user