element-hq / element-ios

A glossy Matrix collaboration client for iOS
https://element.io
Apache License 2.0
1.72k stars 480 forks source link

when sending an invite to chat or room, and leaving the chat before the user accepted, the invite remains. #7794

Open rumz26 opened 1 month ago

rumz26 commented 1 month ago

Steps to reproduce

If a user were to send another user an invitation to a room or a private chat, on all platforms and OS’s , and before the other user has joined the chat, the user either leaves the chat or the room or deletes the chat or the room,

the invitation will still be active when the other user tries to accept it, he will get the error message - ”error - can’t join remote room because no servers that are in the room have been provided”

the invitation will remain active until the other user rejects the invitation.

Outcome

The expected behavior for this is for the invitation to be deleted if the room or chat is not active anymore .

Your phone model

iPhone 14

Operating system version

iOS 17.1

Application version

No response

Homeserver

No response

Will you send logs?

No