From 39d15ba6208eede92952653c9c41b0c70c1b9e01 Mon Sep 17 00:00:00 2001 From: ayumi-signal <143036029+ayumi-signal@users.noreply.github.com> Date: Tue, 2 Jul 2024 16:13:39 -0700 Subject: [PATCH] Fix group call notification on group call peek --- ts/services/calling.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ts/services/calling.ts b/ts/services/calling.ts index bc54490e9..0a3014f69 100644 --- a/ts/services/calling.ts +++ b/ts/services/calling.ts @@ -1231,12 +1231,12 @@ export class CallingClass { let updateMessageState = GroupCallUpdateMessageState.SentNothing; const updateCallHistoryOnLocalChanged = callMode === CallMode.Group - ? this.updateCallHistoryForGroupCallOnLocalChanged - : this.updateCallHistoryForAdhocCall; + ? this.updateCallHistoryForGroupCallOnLocalChanged.bind(this) + : this.updateCallHistoryForAdhocCall.bind(this); const updateCallHistoryOnPeek = callMode === CallMode.Group - ? this.updateCallHistoryForGroupCallOnPeek - : this.updateCallHistoryForAdhocCall; + ? this.updateCallHistoryForGroupCallOnPeek.bind(this) + : this.updateCallHistoryForAdhocCall.bind(this); const logId = callMode === CallMode.Group ? `groupv2(${conversationId})`