zulip/zerver
Sahil Batra 9b8713fc1e users: Send peer_add subscription events on reactivating users.
The subscriber list was not updating without a refresh on
reactivating user, because the subscriptions data with the
client was not updated on reactivation.

This commit adds code to send peer_add subscription events
on reactivating the user.

We do not send peer_remove events on deactivating the user,
but the subscriber list is still live-updated because we
have the data of the streams which the deactivated user is
susbcribed to and the clients itself updates the data and UI
on receiving event of deactivation of user, which it is not
possible when reactivating the user.

Fixes #20383.
2022-01-12 14:30:21 -08:00
..
data_import data_import: Ignore Rocket.Chat livechat streams/messages. 2021-11-07 09:50:55 -08:00
integration_fixtures/nagios
lib users: Send peer_add subscription events on reactivating users. 2022-01-12 14:30:21 -08:00
management python: Remove duplicates of global imports inside functions. 2022-01-12 13:50:12 -08:00
migrations migrations: Remove an unnecessary list. 2022-01-11 15:59:50 -08:00
openapi streams: Add notifications for posting policy changes. 2022-01-10 18:29:04 -08:00
tests users: Send peer_add subscription events on reactivating users. 2022-01-12 14:30:21 -08:00
tornado notifications: Don't enqueue notifications for bots. 2022-01-03 09:55:06 -08:00
views actions: Give do_get_user_invites a more specific name. 2022-01-12 13:53:34 -08:00
webhooks webhooks/slack: Stop wrapping message content in backticks. 2022-01-10 11:37:53 -08:00
worker queue_processors: Shut down background missedmessage_emails thread. 2021-11-23 10:45:49 -08:00
__init__.py
apps.py
context_processors.py portico: Use /help/ style pages for displaying policies. 2021-12-10 17:56:12 -08:00
decorator.py webhooks/jira: Handle anomalous payloads properly. 2021-12-28 10:56:25 -08:00
filters.py typing: Fix function signatures. 2021-08-20 05:54:19 -07:00
forms.py portico: Use /help/ style pages for displaying policies. 2021-12-10 17:56:12 -08:00
logging_handlers.py
middleware.py lint: Fix typos found by codespell. 2021-10-19 16:51:13 -07:00
models.py streams: Add notifications for posting policy changes. 2022-01-10 18:29:04 -08:00
signals.py