Off-the-record conversations: the control #157

Merged
paulhitt merged 1 commits from feat/off-the-record-ui into main 2026-09-12 01:45:04 +00:00
paulhitt commented 2026-09-12 01:43:16 +00:00 (Migrated from gitlab.com)

The switch for flamenet-messenger-android!129, in the conversation menu beside the disappearing-message timer, with a line under the header while it is on.

  • the switch asks rather than asserts: what it shows is re-read from what the peer echoed, so it never claims the conversation is off the record just because it was requested
  • the echo lands during a poll, not while the menu is open, so the open conversation re-reads the setting there as well; without that the banner would lie until the chat was reopened
  • group and remote-address conversations have no peer id and this is a one-to-one setting, so it reads false for them

Verified: OffTheRecordTest 8/8 (two new), compile clean, ktlint counts identical to main on both edited files.

Closes flamenet-messenger-android#27.

Generated with Claude Code

The switch for flamenet-messenger-android!129, in the conversation menu beside the disappearing-message timer, with a line under the header while it is on. - the switch asks rather than asserts: what it shows is re-read from what the peer echoed, so it never claims the conversation is off the record just because it was requested - the echo lands during a poll, not while the menu is open, so the open conversation re-reads the setting there as well; without that the banner would lie until the chat was reopened - group and remote-address conversations have no peer id and this is a one-to-one setting, so it reads false for them Verified: OffTheRecordTest 8/8 (two new), compile clean, ktlint counts identical to main on both edited files. Closes flamenet-messenger-android#27. Generated with [Claude Code](https://claude.com/claude-code)
paulhitt commented 2026-09-12 01:45:04 +00:00 (Migrated from gitlab.com)

mentioned in commit ebae3d8937

mentioned in commit ebae3d89372eeab795062b4ca9bb75e8bc027307
paulhitt (Migrated from gitlab.com) merged commit ebae3d8937 into main 2026-09-12 01:45:04 +00:00
paulhitt commented 2026-09-12 12:06:24 +00:00 (Migrated from gitlab.com)

mentioned in merge request !133

mentioned in merge request !133
Sign in to join this conversation.