Support for global.messageQueueTimeInSeconds

This commit is contained in:
Fedor Indutny 2024-10-15 15:43:06 -07:00 committed by GitHub
parent 568c09c579
commit f5257ed5a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 57 additions and 31 deletions

View file

@ -15,7 +15,6 @@ import {
type CallHistoryDetails,
CallMode,
} from '../types/CallDisposition';
import { DAY } from './durations';
export const CALL_LINK_DEFAULT_STATE: Pick<
CallLinkType,
@ -28,8 +27,6 @@ export const CALL_LINK_DEFAULT_STATE: Pick<
storageNeedsSync: false,
};
export const CALL_LINK_DELETED_STORAGE_RECORD_TTL = 30 * DAY;
export function getKeyFromCallLink(callLink: string): string {
const url = new URL(callLink);
if (url == null) {