Fix 403 error on invited room chat page
Don't try to fetch room members while user is only invited or has left the room.
This commit is contained in:
parent
0d2be820fe
commit
702497cb48
3
TODO.md
3
TODO.md
@ -23,6 +23,9 @@
|
||||
|
||||
## Issues
|
||||
|
||||
- Show a proper error when accepting a room invite that has expired or
|
||||
the room doesn't exist anymore (`MatrixNotFound`)
|
||||
|
||||
- Replying to one of our own message that's currently only a local echo
|
||||
results in a reply to an empty ID
|
||||
|
||||
|
@ -29,7 +29,7 @@ HColumnPage {
|
||||
|
||||
Timer {
|
||||
interval: 200
|
||||
running: true
|
||||
running: ! chat.roomInfo.inviter_id && ! chat.roomInfo.left
|
||||
onTriggered: loadMembersFuture = py.callClientCoro(
|
||||
chat.userId,
|
||||
"load_all_room_members",
|
||||
|
Loading…
Reference in New Issue
Block a user