Async refresh call links on CallLinkUpdate sync

This commit is contained in:
ayumi-signal 2024-09-20 12:17:46 -07:00 committed by GitHub
parent cd2bb537fa
commit 32485abf06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 45 additions and 56 deletions

View file

@ -17,7 +17,10 @@ import {
} from '../types/CallDisposition';
import { DAY } from './durations';
export const CALL_LINK_DEFAULT_STATE: Partial<CallLinkType> = {
export const CALL_LINK_DEFAULT_STATE: Pick<
CallLinkType,
'name' | 'restrictions' | 'revoked' | 'expiration' | 'storageNeedsSync'
> = {
name: '',
restrictions: CallLinkRestrictions.Unknown,
revoked: false,