mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-26 15:21:00 -05:00
Added a section on bing words if you enable desktop notifications.
This commit is contained in:
parent
84372cef4a
commit
b170fe921e
3 changed files with 19 additions and 2 deletions
|
|
@ -139,7 +139,7 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput'])
|
|||
if (isLive && event.room_id === $scope.room_id) {
|
||||
|
||||
scrollToBottom();
|
||||
|
||||
|
||||
if (window.Notification) {
|
||||
// Show notification when the window is hidden, or the user is idle
|
||||
if (document.hidden || matrixService.presence.unavailable === mPresence.getState()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue