summary refs log tree commit diff
path: root/webclient/index.html
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-08-15 11:31:13 +0100
committerKegan Dougal <kegan@matrix.org>2014-08-15 14:06:56 +0100
commit5dbceaf5a40a7e90a4aca1a1612fa9ea13290a02 (patch)
treeafe6432266ad80f95b31390370df5278c931bf76 /webclient/index.html
parentAdded event stream service which neatly blobs together requests / state for t... (diff)
downloadsynapse-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.html1
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>