[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:
Jason Frerich
2022-04-04 13:25:42 -05:00
committed by GitHub
parent b13a4abc27
commit 137ba9d191
31 changed files with 558 additions and 299 deletions

View File

@@ -204,7 +204,7 @@ export type HandleMyChannelArgs = PrepareOnly & {
};
export type HandleChannelInfoArgs = PrepareOnly &{
channelInfos: ChannelInfo[];
channelInfos: Array<Partial<ChannelInfo>>;
};
export type HandleMyChannelSettingsArgs = PrepareOnly & {