Fixed mention notifications
This commit is contained in:
parent
7211e6ee1e
commit
a7524e4ac4
@ -2352,7 +2352,8 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
|
|||||||
!message.out &&
|
!message.out &&
|
||||||
message.unread) {
|
message.unread) {
|
||||||
|
|
||||||
var isMutedPromise = NotificationsManager.getPeerMuted(peerID);
|
var notifyPeer = message.flags & 16 ? message.from_id : peerID;
|
||||||
|
var isMutedPromise = NotificationsManager.getPeerMuted(notifyPeer);
|
||||||
var timeout = $rootScope.idle.isIDLE && StatusManager.isOtherDeviceActive() ? 30000 : 1000;
|
var timeout = $rootScope.idle.isIDLE && StatusManager.isOtherDeviceActive() ? 30000 : 1000;
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
isMutedPromise.then(function (muted) {
|
isMutedPromise.then(function (muted) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user