Autocancel notifications

Lorenz Hübschle-Schneider 12 years ago
parent 26135be95c
commit 623a691a88
  1. 4
      js/glowingbear.js

@ -575,9 +575,6 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
$scope.showSidebar = false;
models.setActiveBuffer(buffer);
}
// Cancel notification
window.plugin.notification.local.cancel(id);
};
}
};
@ -1078,6 +1075,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
id: id,
message: body,
title: title,
autoCancel: true,
json: JSON.stringify({ buffer: buffer.id }) // remember buffer id for when the notification is clicked
});
}

Loading…
Cancel
Save