Files
element-web/src
Luke Barnard 95b40a976c Replace sdkReady with firstSyncPromise, add mx_last_room_id
- Create a promise that will serve as a lock to be blocked on by things that need to wait for the first sync before accessing state.
- Use this promise to block `view_room` calls until a sync has occured instead of just dropping them silently if the sync hasn't happened yet.
- Store the current room ID in a localStorage item `mx_last_room_id` when `view_room` fires. This persists the last viewed room ID so that it can be restored on refresh, browser quit. This replaces the previous logic which set the room following a sync based on the most recent unread room.
2017-04-06 11:38:06 +01:00
..
2017-01-20 14:22:27 +00:00
2017-03-22 12:00:16 +00:00
2017-01-20 14:22:27 +00:00
2017-01-20 14:22:27 +00:00
2017-03-12 22:59:41 +00:00
2017-03-12 22:59:41 +00:00
2017-01-20 14:22:27 +00:00
2017-01-20 14:22:27 +00:00
2017-01-20 14:22:27 +00:00
2017-01-20 14:22:27 +00:00
2017-01-24 21:50:24 +00:00
2017-02-21 14:50:09 +00:00
2017-01-24 18:18:54 +00:00
2017-03-14 14:37:18 +00:00
2017-01-20 14:22:27 +00:00
2017-03-14 11:50:13 +00:00
2016-11-02 16:15:35 +00:00
2017-01-20 14:22:27 +00:00
2017-01-20 14:22:27 +00:00
2017-01-20 14:22:27 +00:00
2017-03-27 09:42:04 +01:00
2016-01-07 04:06:52 +00:00
2017-01-20 14:22:27 +00:00
2017-01-20 14:22:27 +00:00
2017-03-03 15:42:24 +00:00
2017-01-20 14:22:27 +00:00
2016-08-03 15:59:17 +01:00
2017-02-09 10:30:06 +00:00