Fix group call notification on group call peek

Co-authored-by: ayumi-signal <143036029+ayumi-signal@users.noreply.github.com>
This commit is contained in:
automated-signal 2024-07-02 18:31:01 -05:00 committed by GitHub
parent 85c986f5b2
commit a14c3fe899
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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})`