File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ async function createUsersSubscriptions({
9292 extraData : {
9393 ...extra ,
9494 ...autoTranslateConfig ,
95+ ...getDefaultSubscriptionPref ( member ) ,
9596 } ,
9697 } ) ;
9798 }
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ import type {
3434} from 'mongodb' ;
3535
3636import { BaseRaw } from './BaseRaw' ;
37- import { getDefaultSubscriptionPref } from '../../../app/utils/lib/getDefaultSubscriptionPref' ;
3837
3938export class SubscriptionsRaw extends BaseRaw < ISubscription > implements ISubscriptionsModel {
4039 constructor ( db : Db , trash ?: Collection < RocketChatRecordDeleted < ISubscription > > ) {
@@ -1856,7 +1855,6 @@ export class SubscriptionsRaw extends BaseRaw<ISubscription> implements ISubscri
18561855 name : user . name ,
18571856 } ,
18581857 ...( room . prid && { prid : room . prid } ) ,
1859- ...getDefaultSubscriptionPref ( user ) ,
18601858 ...extraData ,
18611859 } ;
18621860
@@ -1894,7 +1892,6 @@ export class SubscriptionsRaw extends BaseRaw<ISubscription> implements ISubscri
18941892 name : user . name ,
18951893 } ,
18961894 ...( room . prid && { prid : room . prid } ) ,
1897- ...getDefaultSubscriptionPref ( user ) ,
18981895 ...extraData ,
18991896 } ) ) ;
19001897
You can’t perform that action at this time.
0 commit comments