Commit graph

8 commits

Author SHA1 Message Date
David Baker
18d4d3392a Fix a bunch of linting errors
eslint --fix and a few manual ones
2017-01-20 14:22:27 +00:00
Matthew Hodgson
1bc26cb6c5 fix guest access; broken since Aug 18 2016-09-01 16:58:37 +01:00
David Baker
5495cfaca9 Only try to delete room rule if it exists 2016-08-18 16:59:25 +01:00
David Baker
d08f716681 Comment override rule stuff 2016-08-18 15:21:46 +01:00
David Baker
bab2f23db3 Oops, missed a constant 2016-08-18 15:18:02 +01:00
David Baker
af48b8920e Various PR feedback 2016-08-18 14:00:14 +01:00
David Baker
9e45279894 Use enumalike thing 2016-08-18 13:44:58 +01:00
David Baker
87f94bde62 Fix up notification setting listener in roomtile
The previous dispatch only did binary muted/non-muted but we now have 4 states. We now just listen for the push rules account data and update on that so it stays in sync if the pishrules are changed elsewhere.

Also add util functions used here for getting the notif state and in vector for both getting and setting it.
2016-08-17 18:26:37 +01:00