mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 02:08:57 +00:00
Check media permissions for incoming group ring
This commit is contained in:
@@ -822,6 +822,11 @@ export class CallingClass {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const haveMediaPermissions = await this.requestPermissions(hasLocalVideo);
|
||||||
|
if (!haveMediaPermissions) {
|
||||||
|
log.info('Permissions were denied, but allow joining group call');
|
||||||
|
}
|
||||||
|
|
||||||
await this.startDeviceReselectionTimer();
|
await this.startDeviceReselectionTimer();
|
||||||
|
|
||||||
const groupCall = this.connectGroupCall(conversationId, {
|
const groupCall = this.connectGroupCall(conversationId, {
|
||||||
@@ -1743,7 +1748,7 @@ export class CallingClass {
|
|||||||
ringerUuid,
|
ringerUuid,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
log.info('handleGroupCallRingUpdate: canceling any existing ring');
|
log.info('handleGroupCallRingUpdate: canceling the existing ring');
|
||||||
this.reduxInterface?.cancelIncomingGroupCallRing({
|
this.reduxInterface?.cancelIncomingGroupCallRing({
|
||||||
conversationId,
|
conversationId,
|
||||||
ringId,
|
ringId,
|
||||||
|
|||||||
Reference in New Issue
Block a user