element-hq / element-hq/element-web
Confusing error: "This room is unfederated" when inviting someone on the same server to an unfederated room without perms
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
1. Create a room that's unfederated & select a user on the same server as the room
2. As a separate user without permission to invite to the room, try to invite the user
3. Observe the error message says that the room is unfederated
4. Add the permission to invite
5. Try again, and observe success, indicating it's not an unfederated room issue
### Outcome
#### What did you expect?
The error should read "You do not have permission to invite to this room"
#### What happened instead?
The error read "This room is unfederated. You cannot invite people from external servers."
### Operating system
macOS
### Browser information
Ferdium v6.6.0 with Chrome 118.0.5993.89
### URL for webapp
https://chat.casavant.org
### Application version
Element version: 1.11.51 Crypto version: Olm 3.2.15
### Homeserver
matrix.casavant.org / synapse v1.97.0
### Will you send logs?
Yes
Contributor guide
Assessment
This issue has not been assessed yet.