This website requires JavaScript.
Explore
Cloud
Chat
CI/CD
Help
Sign In
MirrorHub
/
synapse
Watch
0
Star
0
Fork
You've already forked synapse
1
mirror of
https://mau.dev/maunium/synapse.git
synced
2024-10-16 21:38:58 +02:00
Code
Issues
Projects
Releases
Wiki
Activity
5dbceaf5a4
synapse
/
webclient
/
room
History
Kegan Dougal
5dbceaf5a4
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.
2014-08-15 14:06:56 +01:00
..
room-controller.js
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.
2014-08-15 14:06:56 +01:00
room.html
More helpful display when the event stream fails, wiping it when the connection is regained.
2014-08-14 17:40:38 +01:00