Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass new read_by_sender flag when sending messages #5810

Open
timabbott opened this issue Jan 3, 2024 · 1 comment
Open

Pass new read_by_sender flag when sending messages #5810

timabbott opened this issue Jan 3, 2024 · 1 comment
Labels
a-compose/send Compose box, autocomplete, camera/upload, outbox, sending api migrations

Comments

@timabbott
Copy link
Member

timabbott commented Jan 3, 2024

This will make it explicit to 8.0+ servers that the newly-sent message should be marked as read by our user from the outset. The server already determines this through a hack where it inspects the User-Agent header, but it'd be good to make that hack unnecessary to help with eventually removing it on the server.

See https://zulip.com/api/send-message#parameter-read_by_sender and https://chat.zulip.org/#narrow/stream/378-api-design/topic/read_by_sender.20flag.20on.20send-message/near/1702407 for details.

@gnprice gnprice added a-compose/send Compose box, autocomplete, camera/upload, outbox, sending api migrations labels Jan 3, 2024
@Sadaf-A

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-compose/send Compose box, autocomplete, camera/upload, outbox, sending api migrations
Projects
None yet
Development

No branches or pull requests

3 participants