Skip to content

Track each realm's name and icon in database #1036

@gnprice

Description

@gnprice

This is a prerequisite for a couple of issues:

We'd like to remember in the app's local database the name and the icon URL of each of the realms (organizations) the user is logged into. This means:

  • we add the name and icon URL as fields on the Accounts table;
  • we properly initialize them and keep them up to date.

The way we learn these values from the server is very similar to the Zulip feature level: they're in the responses from getServerSettings and registerQueue. I believe there's one added way they get updated: in RealmUpdateEvent. (Which I guess we haven't yet defined in our code! But see API doc.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    a-modelImplementing our data model (PerAccountStore, etc.)a-multiaccountFor users with two or more Zulip accounts (particularly in different realms or different servers)

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions