Flip order of chan-deleted and msg-about-chan-deleted events
This will force clients to unsubscribe from deleted channels and ignore the chan-delete message.
This commit is contained in:
parent
cc1e914987
commit
77011522bc
@ -456,8 +456,9 @@ func (svc *channel) Delete(id uint64) error {
|
||||
return
|
||||
}
|
||||
|
||||
svc.flushSystemMessages()
|
||||
return svc.sendChannelEvent(ch)
|
||||
_ = svc.sendChannelEvent(ch)
|
||||
_ = svc.flushSystemMessages()
|
||||
return nil
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user