From a14c3fe899d35bf6b47f7500de6171218c92d6cf Mon Sep 17 00:00:00 2001 From: automated-signal <37887102+automated-signal@users.noreply.github.com> Date: Tue, 2 Jul 2024 18:31:01 -0500 Subject: [PATCH] Fix group call notification on group call peek Co-authored-by: ayumi-signal <143036029+ayumi-signal@users.noreply.github.com> --- 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 bc54490e99..0a3014f693 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})`