implement html5 notifications. (have to be explicitly requested under Config)

This commit is contained in:
Matthew Hodgson 2014-08-17 03:48:28 +01:00
parent 48f4497fe9
commit 60245c4f90
4 changed files with 37 additions and 3 deletions

View file

@ -39,6 +39,8 @@
<div>Home server: {{ config.homeserver }} </div>
<div>User ID: {{ config.user_id }} </div>
<div>Access token: {{ config.access_token }} </div>
<div><button ng-click="requestNotifications()">Request notifications</button></div>
<div><button ng-click="closeConfig()">Close</button></div>
</div>