mirror of https://github.com/zulip/zulip.git
4ba4305ff9
This old 300s value was meaningfully used in 2 places: 1. In the do_change_user_settings presence_enabled codepath when turning a user invisible. It doesn't matter there, 140s is just since the point is to make clients see this user as offline. And 140s is the threshold used by clients (see the presence.js constant). 2. For calculating whether to set "offline" "status" in result["presence"]["aggregated"] in get_presence_backend. It's fine for this to become 140s, since clients shouldn't be looking at the status value anymore anyway and just do their calculation based on the timestamps. |
||
---|---|---|
.. | ||
jinja2 | ||
__init__.py | ||
backends.py | ||
computed_settings.py | ||
config.py | ||
configured_settings.py | ||
default_settings.py | ||
dev_settings.py | ||
dev_urls.py | ||
email_backends.py | ||
legacy_urls.py | ||
prod_settings.pyi | ||
prod_settings_template.py | ||
sentry.py | ||
settings.py | ||
settings_types.py | ||
template_loaders.py | ||
test_extra_settings.py | ||
test_settings.py | ||
urls.py | ||
wsgi.py |