Peek group call on ring update
Co-authored-by: Jamie Kyle <113370520+jamiebuilds-signal@users.noreply.github.com>
This commit is contained in:
@@ -170,6 +170,7 @@ type CallingReduxInterface = Pick<
|
||||
| 'remoteVideoChange'
|
||||
| 'setPresenting'
|
||||
| 'startCallingLobby'
|
||||
| 'peekNotConnectedGroupCall'
|
||||
> & {
|
||||
areAnyCallsActiveOrRinging(): boolean;
|
||||
};
|
||||
@@ -1887,6 +1888,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`);
|
||||
|
Reference in New Issue
Block a user