bug: rooms with history_visibility": "joined" have empty messages shown after joining #2622

Open
opened 2026-11-28 19:53:13 +00:00 by unbeatable-101 · 0 comments
Contributor

What is the bug?

Rooms where "history_visibility": "joined" is set, the actual message events sent before joining are shown, but not clearly communicated that they cannot be seen due to the history visibility setting.
e.g. gomuks shows { "type": "m.room.message", "content": { "msgtype": "" } }, while sable shows them as being deleted, and another client shows them as being redacted (someone else in the room, but I don't know which client they were using)

Steps to reproduce

  1. Join a room with history_visibility": "joined" set, and messages sent before joining
  2. Look at the room history
  3. Different clients render it differently

Server name and version

continuwuity 26.11.0-rc.1 (dc7daefe5)

Additional context

According to nex:

backfilled events don't go through state calculation, so we don't ever know the state at a backfilled event. As such we don't know the history visibility, which means it defaults to shared, and thus is sent to clients. other servers do know the state though, so they redact the events before sending them to us

### What is the bug? Rooms where "history_visibility": "joined" is set, the actual message events sent before joining are shown, but not clearly communicated that they cannot be seen due to the history visibility setting. e.g. gomuks shows { "type": "m.room.message", "content": { "msgtype": "" } }, while sable shows them as being deleted, and another client shows them as being redacted (someone else in the room, but I don't know which client they were using) ### Steps to reproduce 1. Join a room with `history_visibility": "joined"` set, and messages sent before joining 2. Look at the room history 3. Different clients render it differently ### Server name and version continuwuity 26.11.0-rc.1 (dc7daefe5) ### Additional context According to nex: > backfilled events don't go through state calculation, so we don't ever know the state at a backfilled event. As such we don't know the history visibility, which means it defaults to shared, and thus is sent to clients. other servers do know the state though, so they redact the events before sending them to us
nex self-assigned this 2026-11-28 23:05:15 +00:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
continuwuation/continuwuity#2622
No description provided.