zulip/zerver
LoopThrough-i-j ffd0d822fe actions: Send reaction events to subscribers with history access.
Previously, if a user subscribed to a stream with
history_public_to_subscribers, and then was looking at old messages in
the stream, they would not get live-updates for that stream, because
of the structure in how notify_reaction_update only looked at
UserMessage rows (we had a previous workaround involving the
`historical` field in `UserMessage` which had already made it work if
the user themselves added the reaction).

We fix this by including all subscribers with history access in the
set of recipients for update events.

Fixes a bug that was confused with #16942.
2021-04-05 13:43:39 -07:00
..
data_import import/export: Fix deprecated authentication method for Slack. 2021-03-08 12:56:37 -08:00
lib actions: Send reaction events to subscribers with history access. 2021-04-05 13:43:39 -07:00
management support: Create RealmAuditLog when realm reactivation email is sent. 2021-04-03 08:01:46 -07:00
migrations migrations: Subscription.is_user_active denormalization - step two. 2021-03-30 09:29:36 -07:00
openapi streams: Use "archive stream" phrasing instead of "delete stream". 2021-04-02 22:06:48 -07:00
templatetags python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
tests actions: Send reaction events to subscribers with history access. 2021-04-05 13:43:39 -07:00
tornado tornado: Explicitly mark requests as varying by cookie. 2021-04-02 14:55:22 -07:00
views support: Create RealmAuditLog when realm reactivation email is sent. 2021-04-03 08:01:46 -07:00
webhooks statuspage: Properly detect the update is for component or incident. 2021-03-30 12:06:09 -07:00
worker outgoing_webhook: Join build_bot_request and send_data_to_server. 2021-03-29 18:24:44 -07:00
__init__.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
apps.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
context_processors.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
decorator.py api: Add REALM_DEACTIVATED error code. 2021-03-31 08:46:13 -07:00
filters.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
forms.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
logging_handlers.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
middleware.py middleware: Do not trust X-Forwarded-For; use X-Real-Ip, set from nginx. 2021-03-31 14:19:38 -07:00
models.py support: Create RealmAuditLog when updating realm_subdomain. 2021-04-03 08:01:46 -07:00
signals.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00