From 27471006c7f4c63fa95aec4a34d82fa139d2b3ae Mon Sep 17 00:00:00 2001 From: Pierre Date: Wed, 15 Jan 2025 16:43:17 -0300 Subject: [PATCH] fix: Voice Call History not being recorded --- apps/meteor/server/models.ts | 4 ++++ packages/models/src/modelClasses.ts | 2 ++ 2 files changed, 6 insertions(+) diff --git a/apps/meteor/server/models.ts b/apps/meteor/server/models.ts index b712a0ed5895..22895e8ecdc2 100644 --- a/apps/meteor/server/models.ts +++ b/apps/meteor/server/models.ts @@ -20,6 +20,8 @@ import { FederationKeysRaw, FederationRoomEventsRaw, FederationServersRaw, + FreeSwitchCallRaw, + FreeSwitchEventRaw, ImportDataRaw, ImportsModel, InstanceStatusRaw, @@ -102,6 +104,8 @@ registerModel('IExportOperationsModel', new ExportOperationsRaw(db)); registerModel('IFederationKeysModel', new FederationKeysRaw(db)); registerModel('IFederationRoomEventsModel', new FederationRoomEventsRaw(db)); registerModel('IFederationServersModel', new FederationServersRaw(db)); +registerModel('IFreeSwitchCallModel', new FreeSwitchCallRaw(db)); +registerModel('IFreeSwitchEventModel', new FreeSwitchEventRaw(db)); registerModel('IImportDataModel', new ImportDataRaw(db)); registerModel('IImportsModel', new ImportsModel(db)); registerModel('IInstanceStatusModel', new InstanceStatusRaw(db)); diff --git a/packages/models/src/modelClasses.ts b/packages/models/src/modelClasses.ts index 2a7e3ce8e665..148ab141b53e 100644 --- a/packages/models/src/modelClasses.ts +++ b/packages/models/src/modelClasses.ts @@ -14,6 +14,8 @@ export * from './models/EmailInbox'; export * from './models/EmailMessageHistory'; export * from './models/EmojiCustom'; export * from './models/ExportOperations'; +export * from './models/FreeSwitchCall'; +export * from './models/FreeSwitchEvent'; export * from './models/FederationKeys'; export * from './models/FederationRoomEvents'; export * from './models/FederationServers';