Make Chat show spinner until ready

Like EditAccount, instead of crashing if the room isn't loaded yet.
This commit is contained in:
miruka
2019-07-21 08:38:49 -04:00
parent 5b421f02d8
commit 246058e647
8 changed files with 178 additions and 115 deletions

View File

@@ -56,6 +56,7 @@ function onRoomUpdated(
else if (category == "Left") { replace = find("Invites") || find("Rooms")}
let item = {
loading: false,
typingText: typingTextFor(typingMembers, userId),
userId, category, roomId, displayName, avatarUrl, topic, members,