mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
feat(voice): add opt-in peer-to-peer calls and country rollouts (#3367)
This commit is contained in:
1 parent
e5a568acca
commit
bef5e33eec
215 files changed
+15840
-2693
No files matched your search
@@ -338,6 +338,10 @@ import {
|
||||
type UserSettingsRow,
|
||||
type UsersPendingDeletionRow,
|
||||
} from '@app/api/database/types/UserTypes';
|
||||
import {
|
||||
VOICE_P2P_CONNECTION_REPORT_COLUMNS,
|
||||
type VoiceP2pConnectionReportRow,
|
||||
} from '@app/api/database/types/VoiceTypes';
|
||||
import {ATTACHMENT_DECAY_COLUMNS, type AttachmentDecayRow} from '@app/api/types/AttachmentDecayTypes';
|
||||
import {seconds} from 'itty-time';
|
||||
|
||||
@@ -1474,3 +1478,9 @@ export const BillingActionIntents = defineTable<BillingActionIntentRow, 'intent_
|
||||
columns: BILLING_ACTION_INTENT_COLUMNS,
|
||||
primaryKey: ['intent_id'],
|
||||
});
|
||||
export const VoiceP2pConnectionReports = defineTable<VoiceP2pConnectionReportRow, 'user_id' | 'report_id'>({
|
||||
name: 'voice_p2p_connection_reports',
|
||||
columns: VOICE_P2P_CONNECTION_REPORT_COLUMNS,
|
||||
primaryKey: ['user_id', 'report_id'],
|
||||
defaultTtlSeconds: seconds('180 days'),
|
||||
});
|
||||
Reference in new issue
Block a user