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

Open
#26,707 10 comments 1 reaction 0 assignees View on GitHub
A-Federation A-Invite A-Slash-Commands O-Uncommon S-Minor T-Defect
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.