Matrix: pinned messages #96

Closed
opened 2026-09-02 23:25:38 -04:00 by Salastil · 1 comment
Owner

m.room.pinned_events is neither read nor written (grep -rn pinned nobilis/src/backend/matrix is empty). Rooms use pins for their rules, their current topic of business, and the thing everyone is told to read first - and none of it is reachable here.

Done looks like: a room's pinned messages are listed, and a message can be pinned or unpinned by anybody whose power level allows it.

`m.room.pinned_events` is neither read nor written (`grep -rn pinned nobilis/src/backend/matrix` is empty). Rooms use pins for their rules, their current topic of business, and the thing everyone is told to read first - and none of it is reachable here. **Done looks like:** a room's pinned messages are listed, and a message can be pinned or unpinned by anybody whose power level allows it.
Salastil added the feature label 2026-09-03 13:11:30 -04:00
Author
Owner

Finished — https://git.salastil.com/Salastil/nobilis/commit/93f2d5c and https://git.salastil.com/Salastil/moho/commit/f8083dd

Sync keeps the pinned ids and the list resolves them from scrollback first, then the server, decrypting like any other message. A pin whose event is gone is still listed and says which kind of gone. Writing reads the list back first, since pinning replaces the whole list. Measured against real rooms: 21 pins in one, 7 in another, and a pin/unpin round trip that left the room as found.

Finished — https://git.salastil.com/Salastil/nobilis/commit/93f2d5c and https://git.salastil.com/Salastil/moho/commit/f8083dd Sync keeps the pinned ids and the list resolves them from scrollback first, then the server, decrypting like any other message. A pin whose event is gone is still listed and says which kind of gone. Writing reads the list back first, since pinning replaces the whole list. Measured against real rooms: 21 pins in one, 7 in another, and a pin/unpin round trip that left the room as found.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Salastil/moho#96