Skip to content

Fix sending of Zulip DMs - #2487

Merged
Urgau merged 3 commits into
rust-lang:masterfrom
Kobzol:fix-zulip-api
Aug 20, 2026
Merged

Fix sending of Zulip DMs#2487
Urgau merged 3 commits into
rust-lang:masterfrom
Kobzol:fix-zulip-api

Conversation

@Kobzol

@Kobzol Kobzol commented Aug 20, 2026

Copy link
Copy Markdown
Member

The e-mail field shouldn't really have been used, I removed it and switched to IDs instead. Also migrated the DM message type to direct from private, as per https://zulip.com/api/send-message#parameter-type.

Note: according to the documentation, the to field for DMs should actually be a list. But it seems that Zulip accepts also just a single value there.

Kobzol added 3 commits August 20, 2026 16:17
It was unused, so it was confusing that it was implemented.
@Kobzol
Kobzol requested a review from Urgau August 20, 2026 14:26

@Urgau Urgau 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.

The usage of email is indeed a bit weird. The rest of the changes looks good.

View changes since this review

@Urgau
Urgau added this pull request to the merge queue Aug 20, 2026
Merged via the queue into rust-lang:master with commit f1b47ef Aug 20, 2026
3 checks passed
@Kobzol
Kobzol deleted the fix-zulip-api branch August 20, 2026 18:20
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