mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
For small-ish realms (<= 250 users), we ensure that the presence info includes all realm users the front end knows about, even in cases where the server sends down a slimmed version of presence data. We make the users "offline" by default, of course. This commit sets us up to optimize larger realms without concerns of breaking small realms. Small realms may want to continue to show all users, even users who may have been offline several weeks, since it doesn't clutter their API as much as it would for big realms.
4.7 KiB
4.7 KiB