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 /cmdclient | |
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 'cmdclient')
0 files changed, 0 insertions, 0 deletions