diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2023-01-31 04:42:44 +0100 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2023-01-31 05:00:56 +0100 |
commit | afde0e0d3a0b21eff34a884901c86047828f943f (patch) | |
tree | 81c0e58c4ddae261474e062a94dbd62cc66c7a3a /lib | |
parent | c58be9dcab5fff8a63b94de73b3536caec1d5a94 (diff) |
Update room properties with data from "roomlist" update event
The external signaling server includes some room data in the "roomlist"
update event sent when a room is modified. That data is up to date, and
it will be the same received when fetching the room data again, so the
properties can be already updated in the store.
This prevents the lobby from being briefly shown when switching to a
breakout room due to the "switchto" message being handled before the
updated room data could be fetched from the server.
In order to keep the changes to a minimum note that this does was not
applied to guest users, as a different event seems to be sent in that
case, nor to the Talk sidebar, as the current properties provided in the
event should not be relevant to it.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions