mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
events: Send delete_message event to user who deleted the message.
Fixes #29826. Co-authored-by: Mukul Goyal <goyal.mukul7689@gmail.com> Co-authored-by: Aman Agrawal <amanagr@zulip.com>
This commit is contained in:
@@ -496,7 +496,7 @@ class PreviewTestCase(ZulipTestCase):
|
||||
event = patched.call_args[0][1]
|
||||
|
||||
msg = Message.objects.select_related("sender").get(id=msg_id)
|
||||
do_delete_messages(msg.realm, [msg])
|
||||
do_delete_messages(msg.realm, [msg], acting_user=None)
|
||||
|
||||
# We do still fetch the URL, as we don't want to incur the
|
||||
# cost of locking the row while we do the HTTP fetches.
|
||||
|
||||
Reference in New Issue
Block a user