mirror of
https://github.com/zulip/zulip.git
synced 2026-07-09 21:21:47 +08:00
When a user toggles a status update for `away=True|False`, we now update their `presence_enabled` setting to match (`away!=presence_enabled`). First step of making user status `away` updates a deprecated way to access presence_enabled for clients supporting older servers, and checkpoint commit before migrating users with a current UserStatus of `status=AWAY` to have their `presence_enabled` set to `False`. Note that when user status `away` is updated, we now send 4 events: user_status, user_settings, presence, and update_global_notifications. Also, this means that these updates change the UserPresence.status value, which impacts the test for importing and exporting user information. Part of transitioning from 'unavailable' user status feature to 'invisible mode' user presence feature. |
||
|---|---|---|
| .. | ||
| actions | ||
| data_import | ||
| integration_fixtures/nagios | ||
| lib | ||
| management | ||
| migrations | ||
| openapi | ||
| tests | ||
| tornado | ||
| views | ||
| webhooks | ||
| worker | ||
| __init__.py | ||
| apps.py | ||
| context_processors.py | ||
| decorator.py | ||
| filters.py | ||
| forms.py | ||
| logging_handlers.py | ||
| middleware.py | ||
| models.py | ||
| signals.py | ||