zulip/zerver/actions
Prakhar Pratyush 02f3f73b0c recipient_info: Include 'sender_id' in 'topic_participant_user_ids'.
This commit includes the message's sender id in the
'topic_participant_user_ids' set.

The 'participants_for_topic' function doesn't include the sender_id,
if the user is sending their first message in the topic, because
'participants_for_topic' queries the 'Message' table, but the message
is actually sent at a later stage in the codepath, resulting in
missing the sender_id in this case.

This is needed to set the 'wildcard_mentioned' flag for the sender's
user message in the case of topic wildcard mentions.

This doesn't lead to sending email and push notifications to the
sender because we have a check to skip notifications if the user
to receive notifications is the sender itself.

This should have been included in c0c30bc.
2023-10-06 11:38:37 -07:00
..
__init__.py
alert_words.py actions: Split out zerver.actions.alert_words. 2022-04-14 17:14:31 -07:00
bots.py migration: Rename extra_data_json to extra_data in audit log models. 2023-08-16 17:18:14 -07:00
create_realm.py invite: Add new setting for "Who can create multiuse invite links". 2023-09-07 14:21:01 -07:00
create_user.py i18n: Fix default language for users created via API/LDAP. 2023-10-01 21:10:13 +02:00
custom_profile_fields.py ruff: Fix PLR1714 Consider merging multiple comparisons. 2023-07-23 15:21:33 -07:00
default_streams.py python: Convert translated positional {} fields to {named} fields. 2023-07-18 15:19:07 -07:00
hotspots.py actions: Split out zerver.actions.hotspots. 2022-04-14 17:14:31 -07:00
invites.py python: Elide unnecessary list wrappers. 2023-09-13 12:41:23 -07:00
message_delete.py models: Always search Messages with a realm_id or id limit. 2023-09-11 15:00:37 -07:00
message_edit.py python: Delete superfluous parens. 2023-09-13 13:40:19 -07:00
message_flags.py python: Elide unnecessary list wrappers. 2023-09-13 12:41:23 -07:00
message_send.py recipient_info: Include 'sender_id' in 'topic_participant_user_ids'. 2023-10-06 11:38:37 -07:00
muted_users.py migration: Rename extra_data_json to extra_data in audit log models. 2023-08-16 17:18:14 -07:00
presence.py presence: Support null values in UserPresence. 2023-04-26 14:26:47 -07:00
reactions.py settings: Add automatically follow and unmute topics policy settings. 2023-10-04 13:04:29 -07:00
realm_domains.py django: Use .exists() instead of .count() when possible. 2023-09-11 15:00:37 -07:00
realm_emoji.py migration: Rename extra_data_json to extra_data in audit log models. 2023-08-16 17:18:14 -07:00
realm_export.py migration: Rename extra_data_json to extra_data in audit log models. 2023-08-16 17:18:14 -07:00
realm_icon.py migration: Rename extra_data_json to extra_data in audit log models. 2023-08-16 17:18:14 -07:00
realm_linkifiers.py migration: Rename extra_data_json to extra_data in audit log models. 2023-08-16 17:18:14 -07:00
realm_logo.py django_api: Extract send_event_on_commit helper. 2023-06-19 13:42:40 -07:00
realm_playgrounds.py migration: Rename extra_data_json to extra_data in audit log models. 2023-08-16 17:18:14 -07:00
realm_settings.py python: Elide unnecessary list wrappers. 2023-09-13 12:41:23 -07:00
scheduled_messages.py scheduled-messages: Split out edit scheduled message endpoint. 2023-05-26 18:05:55 -07:00
streams.py management: Rename command reactivate_stream -> unarchive_stream. 2023-09-19 15:03:33 -07:00
submessage.py settings: Add automatically follow and unmute topics policy settings. 2023-10-04 13:04:29 -07:00
typing.py python: Convert translated positional {} fields to {named} fields. 2023-07-18 15:19:07 -07:00
uploads.py uploads: Rewrite comment in do_claim_attachments to improve clarity. 2023-08-15 10:08:11 -07:00
user_activity.py Remove statsd support. 2023-04-25 19:58:16 -07:00
user_groups.py user_groups: Improve bulk membership change logic. 2023-09-29 15:08:02 +02:00
user_settings.py emails: Update subject for confirm_new_email to have realm host. 2023-09-17 15:12:21 -07:00
user_status.py user-status: Stop updating the UserStatus model for `away` updates. 2022-09-23 12:27:54 -07:00
user_topics.py user_topics: Update 'set visibility policy' codepath for bulk db operations. 2023-03-29 09:50:06 -07:00
users.py scim: Add supporting for syncing the user role. 2023-09-15 13:15:45 -07:00
video_calls.py