diff --git a/apps/meteor/app/lib/server/functions/createRoom.ts b/apps/meteor/app/lib/server/functions/createRoom.ts index bb099af8cee7..c9d5b0e31075 100644 --- a/apps/meteor/app/lib/server/functions/createRoom.ts +++ b/apps/meteor/app/lib/server/functions/createRoom.ts @@ -92,6 +92,7 @@ async function createUsersSubscriptions({ extraData: { ...extra, ...autoTranslateConfig, + ...getDefaultSubscriptionPref(member), }, }); } diff --git a/apps/meteor/server/models/raw/Subscriptions.ts b/apps/meteor/server/models/raw/Subscriptions.ts index 7b8de27693b5..2ba63aba86cf 100644 --- a/apps/meteor/server/models/raw/Subscriptions.ts +++ b/apps/meteor/server/models/raw/Subscriptions.ts @@ -34,7 +34,6 @@ import type { } from 'mongodb'; import { BaseRaw } from './BaseRaw'; -import { getDefaultSubscriptionPref } from '../../../app/utils/lib/getDefaultSubscriptionPref'; export class SubscriptionsRaw extends BaseRaw implements ISubscriptionsModel { constructor(db: Db, trash?: Collection>) { @@ -1856,7 +1855,6 @@ export class SubscriptionsRaw extends BaseRaw implements ISubscri name: user.name, }, ...(room.prid && { prid: room.prid }), - ...getDefaultSubscriptionPref(user), ...extraData, }; @@ -1894,7 +1892,6 @@ export class SubscriptionsRaw extends BaseRaw implements ISubscri name: user.name, }, ...(room.prid && { prid: room.prid }), - ...getDefaultSubscriptionPref(user), ...extraData, }));