Browse Source

deleted notification of mention that is appearing too late

master
Simon Grim 10 years ago
parent
commit
473fdb8c24
  1. 2
      js/twister_newmsgs.js

2
js/twister_newmsgs.js

@ -98,12 +98,14 @@ function requestMentionsCount() {
if( _newMentionsUpdated ) { if( _newMentionsUpdated ) {
_newMentionsUpdated = false; _newMentionsUpdated = false;
if ( _newMentions ) {
$.MAL.soundNotifyMentions(); $.MAL.soundNotifyMentions();
if ($.Options.getShowDesktopNotifMentionsOpt() === 'enable') { if ($.Options.getShowDesktopNotifMentionsOpt() === 'enable') {
$.MAL.showDesktopNotif(false, polyglot.t('You got')+' '+polyglot.t('new_mentions', _newMentions)+'.', false,'twister_notification_new_mentions', $.Options.getShowDesktopNotifMentionsTimerOpt(), function(){$.MAL.showMentions(defaultScreenName)}, false) $.MAL.showDesktopNotif(false, polyglot.t('You got')+' '+polyglot.t('new_mentions', _newMentions)+'.', false,'twister_notification_new_mentions', $.Options.getShowDesktopNotifMentionsTimerOpt(), function(){$.MAL.showMentions(defaultScreenName)}, false)
} }
} }
}
// was moved here from requestDMsCount() because that is not ticking right // was moved here from requestDMsCount() because that is not ticking right
// we would place it with other notifications into separate notification center // we would place it with other notifications into separate notification center

Loading…
Cancel
Save