Skip to content

api: Cut ZulipStream.canRemoveSubscribersGroup as it changes format #1084

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

Merged
merged 3 commits into from
Nov 25, 2024

Conversation

gnprice
Copy link
Member

@gnprice gnprice commented Nov 25, 2024

This field is becoming a group-setting value. We haven't yet
implemented those (that's #814), so we can no longer handle this field
until we do that work. Conveniently we weren't actually making any
use of this field, though -- so for now, just ignore it.

Fixes: #1082

For a malformed-response error this is essential because it pinpoints
where in the data schema the mismatch occurred between our expectations
and the server's behavior.

There's more to do here (zulip#890 for getting this to the user in cases
like a malformed response, so they can screenshot it when reporting
an issue; zulip#1083 for including stack traces when relevant in showing
other errors to the user) but this is a start.
This field is becoming a group-setting value.  We haven't yet
implemented those (that's zulip#814), so we can no longer handle this field
until we do that work.  Conveniently we weren't actually making any
use of this field, though -- so for now, just ignore it.

Fixes: zulip#1082
This is affected by the same root cause as zulip#1082, though the impact
here is much smaller: this one only applies to an event at the moment
someone edits one of these settings.
@gnprice gnprice added the maintainer review PR ready for review by Zulip maintainers label Nov 25, 2024
@chrisbobbe chrisbobbe self-requested a review November 25, 2024 18:50
@chrisbobbe chrisbobbe self-assigned this Nov 25, 2024
@chrisbobbe
Copy link
Collaborator

LGTM, thanks! Merging.

@chrisbobbe chrisbobbe merged commit 85b9c43 into zulip:main Nov 25, 2024
1 check passed
@gnprice gnprice deleted the pr-group-setting branch November 25, 2024 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintainer review PR ready for review by Zulip maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

App fails to start on chat.zulip.org with new can_remove_subscribers_group format
2 participants