mirror of
https://gitdab.com/cadence/out-of-your-element.git
synced 2025-09-10 20:32:50 +02:00
Unbridge rooms when their channel is deleted
This commit is contained in:
parent
7afe3e7591
commit
a2e3f06e8e
4 changed files with 31 additions and 7 deletions
|
@ -147,6 +147,9 @@ const utils = {
|
|||
} else if (message.t === "CHANNEL_PINS_UPDATE") {
|
||||
await eventDispatcher.onChannelPinsUpdate(client, message.d)
|
||||
|
||||
} else if (message.t === "CHANNEL_DELETE") {
|
||||
await eventDispatcher.onChannelDelete(client, message.d)
|
||||
|
||||
} else if (message.t === "THREAD_CREATE") {
|
||||
// @ts-ignore
|
||||
await eventDispatcher.onThreadCreate(client, message.d)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue