Matthew Hodgson
8a848deddc
unbreak mocks in tests
2016-09-12 15:52:10 +01:00
Matthew Hodgson
f959e1a134
incorporate PR feedback
2016-09-08 22:38:39 +01:00
Matthew Hodgson
fc495a5f1e
fix lint
2016-09-08 00:18:17 +01:00
Matthew Hodgson
91f8df8d19
make EventTimeline take an EventTimelineSet
2016-09-07 21:17:06 +01:00
Matthew Hodgson
2daa1b6007
change TimelineWindow to take a timelineSet rather than a Room
2016-09-04 13:57:56 +01:00
Richard van der Hoff
a493a0ddb3
Fix lint errors
2016-04-07 14:30:35 +01:00
Richard van der Hoff
7573171d05
Avoid paginating forever in private rooms
...
In TimelineWindow.paginate, keep a count of the number of API requests we have
made, and bail out if it gets too high, to ensure that we don't get stuck in a
loop of paginating right back to the start of the room.
2016-04-07 14:16:02 +01:00
Richard van der Hoff
1499087098
TimelineWindow: fix canPaginate during load
...
We should return false rather than throw an exception if someone calls
canPaginate before the timeline finishes loading.
2016-01-30 00:09:12 +00:00
Richard van der Hoff
8db95f42fb
Add some unit tests for TimelineWindow.
2016-01-28 16:38:45 +00:00