Migrate to realm_url
, vs realm_uri
, in registerQueue response
#1440
Labels
Milestone
realm_url
, vs realm_uri
, in registerQueue response
#1440
The server now returns the realm URL from https://zulip.com/api/register-queue in
realm_url
, as well as inrealm_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
The text was updated successfully, but these errors were encountered: