Send CallLinkUpdate each time we join the call
This commit is contained in:
parent
07632a2f4a
commit
0391ff0c87
@ -71,6 +71,8 @@ final class AdHocCallStateObserver {
|
||||
if inserted {
|
||||
callLink.updateState(callLinkCall.callLinkState)
|
||||
try callLinkStore.update(callLink, tx: tx)
|
||||
}
|
||||
if callLink.adminPasskey == nil, !callLink.isDeleted {
|
||||
let updateSender = CallLinkUpdateMessageSender(messageSenderJobQueue: messageSenderJobQueue)
|
||||
updateSender.sendCallLinkUpdateMessage(rootKey: rootKey, adminPasskey: nil, tx: SDSDB.shimOnlyBridge(tx))
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user