Skip to content

Fetch realm emoji in initial register call & update using events #809

@neiljp

Description

@neiljp

We have preliminary support for realm emoji (custom emoji specific to an organization) via #710, but this has a few caveats (though perhaps minor, depending on the frequency of adding custom emoji vs each ZT session):

  • We don't update the realm emoji ZT is aware of, using events available from the server
  • We fetch using an API call after initial register, so even if we had updates, we might miss them between the two points - we should really just grab them out of the initial register() call (initial_data) instead

Working on this issue is a fairly good introduction to how the Zulip events API works. You'll likely want to review the events in the zulip documentation and existing code in model.py, which is where event handling occurs.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions