mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Improve calling preload script
This commit is contained in:
@@ -2369,6 +2369,12 @@ export class CallingClass {
|
||||
return;
|
||||
}
|
||||
|
||||
const logId = getLogId({
|
||||
source: 'CallingClass.setOutgoingAudio',
|
||||
conversationId,
|
||||
});
|
||||
log.info(`${logId}: set to ${enabled}`);
|
||||
|
||||
if (call instanceof Call) {
|
||||
call.setOutgoingAudioMuted(!enabled);
|
||||
} else if (call instanceof GroupCall) {
|
||||
@@ -2378,6 +2384,7 @@ export class CallingClass {
|
||||
}
|
||||
|
||||
muteStateChange.setIsMuted(!enabled);
|
||||
log.info(`${logId}: set to ${enabled} done`);
|
||||
}
|
||||
|
||||
setOutgoingAudioRemoteMuted(conversationId: string, source: number): void {
|
||||
|
||||
Reference in New Issue
Block a user