zulip/zerver/tornado
Lauryn Menard 2e9adad123 update_message: Use `rendering_only` flag for notifications logic.
When `update_message` events were updated to have a consistent
format for both normal message updates/edits and special
rendering preview updates, the logic used in the tornado event
queue processor to identify the special events for sending
notifications no longer applied.

Updates that logic to use the `rendering_only` flag (if present)
that was added to the `update_message` event format to identify
if the event processor should potentially send notifications to
users.

For upgrade compatibility, if `rendering_only` flag is not present,
uses previous event structure and checks for the absence of the
`user_id` property, which indicated the special rendering preview
updates.

Fixes #16022.
2022-04-20 08:24:12 -07:00
..
__init__.py
application.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
autoreload.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
descriptors.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
django_api.py actions: Delete zerver.lib.actions. 2022-04-14 17:14:38 -07:00
event_queue.py update_message: Use `rendering_only` flag for notifications logic. 2022-04-20 08:24:12 -07:00
exceptions.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
handlers.py request: Refactor ZulipRequestNotes to RequestNotes. 2021-09-03 08:48:45 -07:00
ioloop_logging.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
sharding.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
views.py request: Add a var_name parameter to converter. 2022-03-15 13:02:02 -07:00