mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 03:41:58 +00:00
actions: Split out zerver.actions.uploads.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit e230ea2598)
This commit is contained in:
committed by
Tim Abbott
parent
025219da16
commit
b8567d8d8f
@@ -1142,7 +1142,7 @@ def create_attachment(
|
||||
realm=realm,
|
||||
size=file_size,
|
||||
)
|
||||
from zerver.lib.actions import notify_attachment_update
|
||||
from zerver.actions.uploads import notify_attachment_update
|
||||
|
||||
notify_attachment_update(user_profile, "add", attachment.to_dict())
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user