Add logs to group call peeks after call ended
This commit is contained in:
parent
1f7386d7cf
commit
dc9caa0a99
2 changed files with 31 additions and 6 deletions
|
@ -190,6 +190,7 @@ import {
|
|||
getCallsHistoryForRedux,
|
||||
loadCallsHistory,
|
||||
} from './services/callHistoryLoader';
|
||||
import { getCallIdFromEra } from './util/callDisposition';
|
||||
|
||||
export function isOverHourIntoPast(timestamp: number): boolean {
|
||||
return isNumber(timestamp) && isOlderThan(timestamp, HOUR);
|
||||
|
@ -2913,6 +2914,13 @@ export async function startApp(): Promise<void> {
|
|||
): boolean {
|
||||
if (message.groupCallUpdate) {
|
||||
if (message.groupV2 && messageDescriptor.type === Message.GROUP) {
|
||||
log.info(
|
||||
'handleGroupCallUpdateMessage',
|
||||
message.timestamp,
|
||||
message.groupCallUpdate?.eraId != null
|
||||
? getCallIdFromEra(message.groupCallUpdate.eraId)
|
||||
: null
|
||||
);
|
||||
window.reduxActions.calling.peekNotConnectedGroupCall({
|
||||
conversationId: messageDescriptor.id,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue