David Baker
18d4d3392a
Fix a bunch of linting errors
...
eslint --fix and a few manual ones
2017-01-20 14:22:27 +00:00
David Baker
28e663dd48
Pass the room object into displayNotification
...
It needs it to do the view_room if the notification is clicked.
2016-12-06 13:27:36 +00:00
David Baker
920e3346dc
Move Notifications into Platform
...
Also add support for clearing notifications if the Platform
supports it.
2016-11-02 17:35:31 +00:00
Matthew Hodgson
f4d939da81
null checks on room in onRoomTimeline
2016-09-09 02:09:12 +01:00
Matthew Hodgson
4aef352a5c
update to use new API based on js-sdk PR input
2016-09-08 22:48:44 +01:00
Richard van der Hoff
a12c1820df
Add some comments to Notifier.js
2016-03-29 10:51:13 +01:00
Minhaz A V
6fc0aaef60
setToolbarHidden(false) if setEnabled has enable = true
...
Signed-off-by: Minhaz A V <minhazav@gmail.com>
2016-03-24 05:46:52 +05:30
Minhaz A V
8605ca134e
comment removed and localStorage update moved up
...
Signed-off-by: Minhaz A V <minhazav@gmail.com>
2016-03-23 22:10:33 +05:30
Minhaz A V
8191eaa40b
unwanted functions removed, prev functions modified
2016-03-23 17:26:41 +05:30
Minhaz A V
9b5519e866
promise -> callback & setToolbarPersistantHidden moved inline
...
Signed-off-by: Minhaz A V <minhazav@gmail.com>
2016-03-23 15:45:54 +05:30
Minhaz A V
cbcf23f30a
funciton name changed to
...
Signed-off-by: Minhaz A V <minhazav@gmail.com>
2016-03-23 15:11:09 +05:30
Minhaz A V
818299da11
persistent = true, as default param in setToolbarHidden() method
...
Signed-off-by: Minhaz A V <minhazav@gmail.com>
2016-03-23 13:50:24 +05:30
Minhaz A V
1875377684
Some style fixes
...
Signed-off-by: Minhaz A V <minhazav@gmail.com>
2016-03-22 17:51:17 +05:30
Minhaz A V
98343a065c
notification issue fixed
...
Signed-off-by: Minhaz A V <minhazav@gmail.com>
2016-03-22 03:49:46 +05:30
Matthew Hodgson
092c416a89
ugh, get rid of accidental debugging
2016-03-17 17:25:48 +00:00
Matthew Hodgson
810f72ce2c
suppress notification floods again after returning from error state
2016-03-17 11:34:20 +00:00
Matthew Hodgson
380d466472
correctly fix notif spam after logout/login: https://github.com/vector-im/vector-web/issues/809
2016-03-17 02:06:47 +00:00
Richard van der Hoff
c5e03913d9
Factor out audio bings to a separate setting
...
Some people are sad about bings on the desktop app. Make it turn-off-able.
2016-03-10 10:59:40 +00:00
David Baker
69a8d65407
Don't pause the audio when we hide the notif: shouldn't be necessary and could cause sound to stop mid-way if a prior notif times out while the sound from a later one is playing.
2016-03-04 18:16:02 +00:00
David Baker
2a1e8ef39b
Make audio notifs only play if the sound tweak is set
2016-03-04 15:29:33 +00:00
Andrew Johnson
3bb824484f
Added very basic audio notifications.
...
This plays the same message.ogg/message.mp3 regardless of event type.
It also does not check the user's event settings (LOUD/OFF/etc), instead
playing a sound upon every single notification.
Clearly, it still needs some work.
Signed-off-by: Andrew Johnson <ajohnson@draster.com>
2016-03-04 09:07:18 -05:00
Matthew Hodgson
687eae7f43
stop floods of notifs when doing a logout+login
2016-02-15 22:07:08 +00:00
Matthew Hodgson
0772f50fab
update copyright for 2016
2016-01-07 04:06:52 +00:00
Kegan Dougal
6aefb3be90
Don't notify for events until the SDK is PREPARED else you can notify for stale events
2015-12-15 17:01:16 +00:00
Kegan Dougal
cd13041b31
Make the X on the desktop notification bar work again
...
See vector-im/vector-web #464 for more info.
2015-12-02 16:35:16 +00:00
Kegan Dougal
1e694da460
Move MatrixChat and login components to react SDK.
...
Removed Modulator as it is no longer necessary in this form. ConferenceHandler
is injected in src/vector/index.js
2015-11-30 18:11:04 +00:00
Kegan Dougal
945a65f4b5
Move Notifier to src/ since it isn't a component.
2015-11-30 15:04:24 +00:00