summary refs log tree commit diff
path: root/webclient/app-controller.js
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/app-controller.js
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/app-controller.js')
0 files changed, 0 insertions, 0 deletions