element-hq / element-hq/element-ios
when sending an invite to chat or room, and leaving the chat before the user accepted, the invite remains.
- Dominant language
- Swift
- Stars
- 1.8k
- Forks
- 544
- PR merge metrics
- PR metrics pending
Description
### 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
Contributor guide
Research direction
The payload names no source files, tests, or entry points. Start by reproducing the invite-and-leave flow on iOS and tracing how pending room and private-chat invitations are retained; done means an invitation is no longer active after its room or chat is left or deleted, including the reported failed-join path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100