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

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

Open
gnprice opened this issue Nov 1, 2024 · 0 comments
Open

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

gnprice opened this issue Nov 1, 2024 · 0 comments
Labels
a-model Implementing our data model (PerAccountStore, etc.)
Milestone

Comments

@gnprice
Copy link
Member

gnprice commented Nov 1, 2024

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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-model Implementing our data model (PerAccountStore, etc.)
Projects
Status: No status
Development

No branches or pull requests

1 participant