Commit d11f0ef40d

d11f0ef40deccf95b541e0ae4fdcf30e9ec704da

parent: 2d48a2ace9

Unregistered key

Ulyssa <git@ulyssa.dev> · 2026-08-17 01:56 UTC

Remove `disabled` option for `read_receipt_trigger` (#641)

Layout: unified · split

docs/iamb.5 −4
@@ -259,10 +259,6 @@ Some portion of the scrollback for the room or thread must be on screen, but
259259the room does not need to be scrolled to the last message.
260260.It Sy message
261261A message must be sent to the room before marking it read.
262.It Sy disabled
263Rooms and threads do not get their read markers updated, and the room
264will remain marked unread until manually cleared or another device updates
265the read marker.
266262.El
267263.It Sy read_receipt_display
268264Defines whether or not read confirmations are displayed.
src/config.rs −3
@@ -365,15 +365,12 @@ pub enum ReadReceiptTrigger {
365365 Scrollback,
366366 /// Update read receipts for a room once the user sends a message to it.
367367 Message,
368 /// Never update read receipts.
369 Disabled,
370368}
371369
372370impl ReadReceiptTrigger {
373371 /// Whether to update read receipts when a room is being rendered.
374372 pub fn on_render(&self, last_visible: bool, room_focused: bool) -> bool {
375373 match self {
376 Self::Disabled => false,
377374 Self::Scrollback => true,
378375 Self::Focused => last_visible && room_focused,
379376 Self::Visible => last_visible,