Peek group call on ring update
This commit is contained in:
parent
82d7546353
commit
9960970550
1 changed files with 7 additions and 0 deletions
|
@ -171,6 +171,7 @@ type CallingReduxInterface = Pick<
|
|||
| 'remoteVideoChange'
|
||||
| 'setPresenting'
|
||||
| 'startCallingLobby'
|
||||
| 'peekNotConnectedGroupCall'
|
||||
> & {
|
||||
areAnyCallsActiveOrRinging(): boolean;
|
||||
};
|
||||
|
@ -1897,6 +1898,12 @@ export class CallingClass {
|
|||
return;
|
||||
}
|
||||
|
||||
if (update === RingUpdate.Requested) {
|
||||
this.reduxInterface?.peekNotConnectedGroupCall({
|
||||
conversationId: conversation.id,
|
||||
});
|
||||
}
|
||||
|
||||
const logId = `handleGroupCallRingUpdate(${conversation.idForLogging()})`;
|
||||
if (conversation.isBlocked()) {
|
||||
log.warn(`${logId}: is blocked`);
|
||||
|
|
Loading…
Add table
Reference in a new issue