Don't share room members models between accounts

Is unsafe and creates subtile bugs, like "invite member → member
declines → member disappears from the member list, then reappears a
second after" (race condition)
This commit is contained in:
miruka
2019-12-12 10:11:24 -04:00
parent 707ac61ff6
commit 438b0d26a4
3 changed files with 9 additions and 9 deletions

View File

@@ -13,7 +13,7 @@ HColumnLayout {
readonly property var originSource:
modelSources[["Member", chat.roomId]] || []
modelSources[["Member", chat.userId, chat.roomId]] || []
onOriginSourceChanged: filterLimiter.restart()