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

Migrate to realm_url, vs realm_uri, in registerQueue response #1440

Open
gnprice opened this issue Mar 26, 2025 · 0 comments
Open

Migrate to realm_url, vs realm_uri, in registerQueue response #1440

gnprice opened this issue Mar 26, 2025 · 0 comments
Labels
a-api Implementing specific parts of the Zulip server API server-9 Things new in Zulip Server 9.0

Comments

@gnprice
Copy link
Member

gnprice commented Mar 26, 2025

The server now returns the realm URL from https://zulip.com/api/register-queue in realm_url, as well as in realm_uri, and the latter is now deprecated.

So we should start getting the value from the new name, falling back to the old name. That way in the future the server can eventually stop sending the old name.

(We already use the new name internally within the app's codebase, so this is purely a matter of how it's parsed from the server's response.)

Implementation

See the similar field on notifications for an example of how to handle this.

References

@gnprice gnprice added a-api Implementing specific parts of the Zulip server API server-9 Things new in Zulip Server 9.0 labels Mar 26, 2025
@gnprice gnprice added this to the M6: Post-launch milestone Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-api Implementing specific parts of the Zulip server API server-9 Things new in Zulip Server 9.0
Projects
Status: No status
Development

No branches or pull requests

1 participant