mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +00:00
mentions: Send user group mention data to notification notices.
We will later use this data to include text like: `<sender> mentioned @<user_group>` instead of the current `<sender> mentioned you` when someone mentions a user group the current user is a part of in email/push notification. Part of #13080.
This commit is contained in:
committed by
Tim Abbott
parent
07d6ab9753
commit
167be7dbdc
@@ -1355,6 +1355,7 @@ Output:
|
||||
acting_user_id=acting_user_id,
|
||||
private_message=kwargs.get("private_message", False),
|
||||
stream_name=kwargs.get("stream_name", None),
|
||||
mentioned_user_group_id=kwargs.get("mentioned_user_group_id", None),
|
||||
idle=kwargs.get("idle", True),
|
||||
already_notified=kwargs.get(
|
||||
"already_notified", {"email_notified": False, "push_notified": False}
|
||||
|
||||
Reference in New Issue
Block a user