diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-08-15 11:31:13 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-08-15 14:06:56 +0100 |
commit | 5dbceaf5a40a7e90a4aca1a1612fa9ea13290a02 (patch) | |
tree | afe6432266ad80f95b31390370df5278c931bf76 /webclient/index.html | |
parent | Added event stream service which neatly blobs together requests / state for t... (diff) | |
download | synapse-5dbceaf5a40a7e90a4aca1a1612fa9ea13290a02.tar.xz |
Added event handler service which.. handles events. More specifically, it $broadcasts events depending on their type, and does processing on events (shuffling keys, adding events to $rootScope so displays will automatically update, sending delivery receipts, and so on). Some of this logic was previously contained in the RoomController, which fails the moment you add >1 room into the mix, hence requiring a Service to handle events, rather than having each individual controller maintain their part of the world.
Diffstat (limited to 'webclient/index.html')
-rw-r--r-- | webclient/index.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webclient/index.html b/webclient/index.html index 793b03d108..31b62efaa8 100644 --- a/webclient/index.html +++ b/webclient/index.html @@ -15,6 +15,7 @@ <script src="rooms/rooms-controller.js"></script> <script src="components/matrix/matrix-service.js"></script> <script src="components/matrix/event-stream-service.js"></script> + <script src="components/matrix/event-handler-service.js"></script> <script src="components/fileInput/file-input-directive.js"></script> <script src="components/fileUpload/file-upload-service.js"></script> </head> |