Files
element-web/src
Kegan Dougal 8dc21ec837 Fix race condition when joining rooms
Problem: Hitting join on a room invite would show spinner, then join room screen
then the messages.

Cause: The UI to show a spinner is set via the "joining" flag. This flag was
only set for the duration of the /join HTTP request. This is insufficient
because it races with actual room info arriving from /sync. If this info does
not arrive before the /join HTTP request returns, "joining" is false but the
current membership state of the user is still invite.

Fix: The "joining" flag is still set when the /join HTTP request is made, but
it is only turned off when the join event arrives from /sync.

Extras: This fix should also work when joining a room not from an invite.
2016-01-20 15:25:40 +00:00
..
2016-01-15 17:31:32 +00:00
2016-01-07 04:06:52 +00:00
2016-01-07 04:06:52 +00:00
2016-01-07 04:06:52 +00:00
2016-01-07 04:06:52 +00:00
2016-01-07 04:06:52 +00:00
2016-01-07 04:06:52 +00:00
2016-01-18 17:12:35 +00:00
2016-01-07 04:06:52 +00:00
2016-01-07 04:06:52 +00:00
2016-01-07 04:06:52 +00:00
2016-01-07 04:06:52 +00:00
2016-01-07 04:06:52 +00:00
2016-01-07 04:06:52 +00:00
2016-01-07 04:06:52 +00:00
2016-01-07 04:06:52 +00:00
2016-01-07 04:06:52 +00:00
2016-01-07 04:06:52 +00:00
2016-01-17 23:31:21 +00:00
2016-01-09 21:27:00 +00:00
2016-01-07 04:06:52 +00:00
2016-01-14 16:15:07 +00:00