Skip to content

feat: Add last-common-read to chat relay#18433

Merged
nickvergessen merged 2 commits into
mainfrom
feat/noid/add-last-common-read-to-chat-relay
Jun 29, 2026
Merged

feat: Add last-common-read to chat relay#18433
nickvergessen merged 2 commits into
mainfrom
feat/noid/add-last-common-read-to-chat-relay

Conversation

@SystemKeeper

@SystemKeeper SystemKeeper commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

πŸ› οΈ API Checklist

When using chat relay, we are not updating the readmarker (that is the received lastCommonRead, we do update our own readmarker). So the only way to do it while staying in a conversation is to wait for the next api request, which will include that.
We cannot add a property on the level of comment, the signaling controller does not allow that (since it also allows sending multiple chat messages in one signaling messages).

Downsides here are:

  • We do an additional query
  • We always send the data, even if the participant has set the read marker to private (which is currently suppressed on api level)

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not possible
  • πŸ“˜ API documentation in docs/ has been updated or is not required
  • πŸ”– Capability is added or not needed

Signed-off-by: Marcel MΓΌller <marcel-mueller@gmx.de>
@SystemKeeper SystemKeeper added this to the β›… Next Major (35) milestone Jun 25, 2026
@SystemKeeper SystemKeeper self-assigned this Jun 25, 2026
@SystemKeeper SystemKeeper added enhancement feature: chat πŸ’¬ Chat and system messages feature: api πŸ› οΈ OCS API for conversations, chats and participants feature: signaling πŸ“Ά Internal and external signaling backends labels Jun 25, 2026
Signed-off-by: Marcel MΓΌller <marcel-mueller@gmx.de>
@SystemKeeper SystemKeeper force-pushed the feat/noid/add-last-common-read-to-chat-relay branch from 35badc6 to 5ba63c3 Compare June 25, 2026 10:03

@nickvergessen nickvergessen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codewise fine
Frontend should also adapt this field, cc @Antreesy

@nickvergessen

Copy link
Copy Markdown
Member

Psalm is unrelated

@nickvergessen

Copy link
Copy Markdown
Member

/backport to stable34

@nickvergessen

Copy link
Copy Markdown
Member

/backport to stable33

@nickvergessen nickvergessen merged commit 6bafdc6 into main Jun 29, 2026
78 of 79 checks passed
@nickvergessen nickvergessen deleted the feat/noid/add-last-common-read-to-chat-relay branch June 29, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement feature: api πŸ› οΈ OCS API for conversations, chats and participants feature: chat πŸ’¬ Chat and system messages feature: signaling πŸ“Ά Internal and external signaling backends

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants