zulip / zulip-flutter

Upcoming Zulip mobile apps for Android and iOS, using Flutter
Apache License 2.0
196 stars 189 forks source link

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

Open gnprice opened 3 weeks ago

gnprice commented 3 weeks ago

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:

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