Kegan Dougal
|
07f77c495b
|
Move event jsdoc to respective classes. Document which functions fire.
This tends to boil down into a setXEvent method which can fire if it updates
the model.
|
2015-06-11 10:54:25 +01:00 |
|
Kegan Dougal
|
5cf29ae1b1
|
Make RoomMember set its own properties, not RoomState.
Also make it clear which methods may fire events off using @fires. This
shifts a lot of RoomState logic to RoomMember.
|
2015-06-10 17:06:28 +01:00 |
|
Kegan Dougal
|
583e71180b
|
Add JSDoc for all the events which the SDK will emit.
|
2015-06-10 14:42:40 +01:00 |
|
Kegan Dougal
|
a0bd25a6d2
|
Handle power levels and update RoomMember properties.
Add unit tests for RoomState.
|
2015-06-09 15:23:04 +01:00 |
|
Kegan Dougal
|
2fb68cfed2
|
Handle m.typing events.
|
2015-06-09 10:27:37 +01:00 |
|
Kegan Dougal
|
a43447b00e
|
Add tests to exercise room name / timeline logic; fix some bugs as a result.
|
2015-06-08 17:27:10 +01:00 |
|
Kegan Dougal
|
2d00998b61
|
Move getFriendlyRoomName to Room. Add recalculate() function to cache info.
|
2015-06-08 16:10:23 +01:00 |
|
Kegan Dougal
|
9fa7fa0487
|
Shuffle around how events are stored.
Rather than having MatrixInMemoryStore do it all, we make the right object do
the right thing, and keep the store for storing said objects.
|
2015-06-08 15:43:18 +01:00 |
|
Kegan Dougal
|
a2257aeb0b
|
Move getFriendlyDisplayName to RoomMember class. Add more utlity functions.
|
2015-06-08 12:21:23 +01:00 |
|
Kegan Dougal
|
7ce3a781f3
|
Add Room, RoomState and RoomMember classes.
|
2015-06-08 11:47:15 +01:00 |
|