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'
|
| 'remoteVideoChange'
|
||||||
| 'setPresenting'
|
| 'setPresenting'
|
||||||
| 'startCallingLobby'
|
| 'startCallingLobby'
|
||||||
|
| 'peekNotConnectedGroupCall'
|
||||||
> & {
|
> & {
|
||||||
areAnyCallsActiveOrRinging(): boolean;
|
areAnyCallsActiveOrRinging(): boolean;
|
||||||
};
|
};
|
||||||
@@ -1887,6 +1888,12 @@ export class CallingClass {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (update === RingUpdate.Requested) {
|
||||||
|
this.reduxInterface?.peekNotConnectedGroupCall({
|
||||||
|
conversationId: conversation.id,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
const logId = `handleGroupCallRingUpdate(${conversation.idForLogging()})`;
|
const logId = `handleGroupCallRingUpdate(${conversation.idForLogging()})`;
|
||||||
if (conversation.isBlocked()) {
|
if (conversation.isBlocked()) {
|
||||||
log.warn(`${logId}: is blocked`);
|
log.warn(`${logId}: is blocked`);
|
||||||
|
Reference in New Issue
Block a user