Skip to content

Commit

Permalink
Regression: Not updating subscriptions and not showing desktop notifc…
Browse files Browse the repository at this point in the history
…ations (RocketChat#13509)

* Fix not updating subscriptions on message

* Fix not displaying desktop notifications
  • Loading branch information
sampaiodiego committed Feb 18, 2019
1 parent d7af7ea commit c0fa1e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/rocketchat-lib/server/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
for the *server* pieces of code which does include the shared
library files.
*/
export { sendNotification } from './sendNotificationsOnMessage.js';
export { sendNotification } from './sendNotificationsOnMessage';
export { hostname } from '../../lib/startup/settingsOnLoadSiteUrl';
export { passwordPolicy } from './passwordPolicy';
export { validateEmailDomain } from './validateEmailDomain';
export { RateLimiterClass as RateLimiter } from './RateLimiter';
export { processDirectEmail } from './processDirectEmail';
export { msgStream } from './msgStream';

import './notifyUsersOnMessage';
3 changes: 2 additions & 1 deletion packages/rocketchat-ui/client/lib/notification.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import s from 'underscore.string';
import { e2e } from 'meteor/rocketchat:e2e';
import { Users, ChatSubscription } from 'meteor/rocketchat:models';
import { getUserPreference } from 'meteor/rocketchat:utils';
import { getAvatarUrlFromUsername, getAvatarAsPng } from 'meteor/rocketchat:ui-utils';
import { getAvatarUrlFromUsername } from 'meteor/rocketchat:utils';
import { getAvatarAsPng } from 'meteor/rocketchat:ui-utils';
import { promises } from 'meteor/rocketchat:promises';

export const KonchatNotification = {
Expand Down

0 comments on commit c0fa1e7

Please sign in to comment.