Skip to content

Commit

Permalink
Regression: Fix desktop notifications not being sent (#14860)
Browse files Browse the repository at this point in the history
  • Loading branch information
sampaiodiego committed Jun 25, 2019
1 parent da9dea8 commit 0e95941
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/utils/lib/RoomTypeConfig.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import { Meteor } from 'meteor/meteor';
import { Random } from 'meteor/random';

import { settings } from '../../settings';

let Users;
let settings;
if (Meteor.isServer) {
({ settings } = require('../../settings/server'));
Users = require('../../models/server/models/Users').default;
} else {
({ settings } = require('../../settings/client'));
}

export const RoomSettingsEnum = {
Expand Down

0 comments on commit 0e95941

Please sign in to comment.