Kegan Dougal
|
02e45da895
|
When new invites come down, update the My Rooms list. Added hacks to make the display name a bit nicer (/im/sync needs to return room aliases / membership events better)
|
2014-08-15 17:42:11 +01:00 |
Kegan Dougal
|
c51cf4efca
|
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 |
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 |