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-12-15 05:03:51 +01:00
Code
Issues
Projects
Releases
Wiki
Activity
7ddb7a5cbb
synapse
/
webclient
/
room
History
Kegan Dougal
7ddb7a5cbb
Event streaming now happens on an app level, rather than a per-room level. Make eventStreamService manage it's own repolling provided no one calls stop() on it. Couple the stream with eventHandlerService so any controller can just blithely call eventStreamService.resume() and expect to 'get stuff' without having to handle promises (though resume() still returns a promise for that request and proxies it through $q). Kill and reset the stream if you logout.
2014-08-15 14:06:56 +01:00
..
room-controller.js
Event streaming now happens on an app level, rather than a per-room level. Make eventStreamService manage it's own repolling provided no one calls stop() on it. Couple the stream with eventHandlerService so any controller can just blithely call eventStreamService.resume() and expect to 'get stuff' without having to handle promises (though resume() still returns a promise for that request and proxies it through $q). Kill and reset the stream if you logout.
2014-08-15 14:06:56 +01:00
room.html
Store messages in $rootScope so they can be accessed from multiple controllers without duplicated storage for each. This also gives updates.
2014-08-15 14:06:56 +01:00