diff --git a/packages/rocketchat-lib/server/models/Subscriptions.coffee b/packages/rocketchat-lib/server/models/Subscriptions.coffee index ddeb5e4e357..02eb16c3ca0 100644 --- a/packages/rocketchat-lib/server/models/Subscriptions.coffee +++ b/packages/rocketchat-lib/server/models/Subscriptions.coffee @@ -12,6 +12,7 @@ class ModelSubscriptions extends RocketChat.models._Base @tryEnsureIndex { 'unread': 1 } @tryEnsureIndex { 'ts': 1 } @tryEnsureIndex { 'ls': 1 } + @tryEnsureIndex { 'audioNotifications': 1 }, { sparse: 1 } @tryEnsureIndex { 'desktopNotifications': 1 }, { sparse: 1 } @tryEnsureIndex { 'mobilePushNotifications': 1 }, { sparse: 1 } @tryEnsureIndex { 'emailNotifications': 1 }, { sparse: 1 } diff --git a/packages/rocketchat-push-notifications/client/stylesheets/pushNotifications.less b/packages/rocketchat-push-notifications/client/stylesheets/pushNotifications.less index ad6f5d912f5..2cc8213e2a8 100644 --- a/packages/rocketchat-push-notifications/client/stylesheets/pushNotifications.less +++ b/packages/rocketchat-push-notifications/client/stylesheets/pushNotifications.less @@ -28,7 +28,7 @@ text-align: center; } - [data-edit] { + [data-edit], [data-play] { cursor: pointer; } } diff --git a/packages/rocketchat-push-notifications/client/views/pushNotificationsFlexTab.html b/packages/rocketchat-push-notifications/client/views/pushNotificationsFlexTab.html index 695c96ae245..df8f8a9cd19 100644 --- a/packages/rocketchat-push-notifications/client/views/pushNotificationsFlexTab.html +++ b/packages/rocketchat-push-notifications/client/views/pushNotificationsFlexTab.html @@ -6,6 +6,26 @@