diff options
author | Emmanuel ROHEE <manu@Emmanuels-MacBook-Pro.local> | 2014-09-08 11:09:14 +0200 |
---|---|---|
committer | Emmanuel ROHEE <manu@Emmanuels-MacBook-Pro.local> | 2014-09-08 11:09:14 +0200 |
commit | 24f0bb4af5c2863c13c015f4a091ff0c84960a67 (patch) | |
tree | 9ad9b614b5281b5b06207c3e9efa17ed000c4cdb /webclient/room/room-controller.js | |
parent | BF: Made notification work again (forgot to renamed "offline" to "unavailable") (diff) | |
download | synapse-24f0bb4af5c2863c13c015f4a091ff0c84960a67.tar.xz |
Revert "BF: Made notification work again (forgot to renamed "offline" to "unavailable")"
This reverts commit c3f9d8e41bf2d23f676a10ec4579434a94b1fc39.
Diffstat (limited to '')
-rw-r--r-- | webclient/room/room-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/room/room-controller.js b/webclient/room/room-controller.js index 1c496d7213..c738b490e2 100644 --- a/webclient/room/room-controller.js +++ b/webclient/room/room-controller.js @@ -63,7 +63,7 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput']) if (window.Notification) { // Show notification when the user is idle - if (matrixService.presence.unavailable === mPresence.getState()) { + if (matrixService.presence.offline === mPresence.getState()) { var notification = new window.Notification( ($scope.members[event.user_id].displayname || event.user_id) + " (" + ($scope.room_alias || $scope.room_id) + ")", // FIXME: don't leak room_ids here |