Skip to content

Expose head message Sender for private-answer replies - #2

Merged
alessioc42 merged 1 commit into
lanis-mobile:mainfrom
sohrab069:fix/private-answer-recipient
Oct 27, 2026
Merged

alessioc42 merged 1 commit into
lanis-mobile:mainfrom
sohrab069:fix/private-answer-recipient

Conversation

@sohrab069

Copy link
Copy Markdown

Problem

The server routes a conversation reply only by the to value. The website's module/nachrichten/js/read.js addresses replies in a privateAnswerOnly conversation ("Mitteilung") to the head message's Sender when the user isn't its author. Clients sending to: "all" make the reply visible to every participant.

Change

  • Parse the head message's Sender into a new optional Conversation.sender.
  • Update the replyToConversation docs to explain why "all" is wrong for these replies.

The app-side fix that uses this field is in a companion PR on lanis-mobile/lanis.

Not compiled or tested locally; no Dart/Flutter toolchain was available.

🤖 Generated with Claude Code

The server routes a reply only by its "to" value. Replies in a
privateAnswerOnly conversation must be addressed to the head message's
Sender (as the web client's read.js does), otherwise they are visible
to every participant. Parse Sender into Conversation.sender so clients
can do that.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@alessioc42
alessioc42 merged commit 746f5ff into lanis-mobile:main Oct 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants