Peek call links and group calls from Calls Tab

This commit is contained in:
ayumi-signal 2024-05-17 15:02:07 -07:00 committed by GitHub
parent da1425265d
commit fc9c5488c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 762 additions and 71 deletions

View file

@ -200,6 +200,7 @@ import { deriveStorageServiceKey } from './Crypto';
import { getThemeType } from './util/getThemeType';
import { AttachmentDownloadManager } from './jobs/AttachmentDownloadManager';
import { onCallLinkUpdateSync } from './util/onCallLinkUpdateSync';
import { CallMode } from './types/Calling';
export function isOverHourIntoPast(timestamp: number): boolean {
return isNumber(timestamp) && isOlderThan(timestamp, HOUR);
@ -2923,6 +2924,7 @@ export async function startApp(): Promise<void> {
conversationId
);
window.reduxActions.calling.peekNotConnectedGroupCall({
callMode: CallMode.Group,
conversationId,
});
if (callId != null) {