user_groups: Send a message on changing user-groups subscribers.

After this commit a notification message is sent to users if they are
added to user_groups by someone else or they are removed from user_groups
by someone else.

Fixes #23642.
This commit is contained in:
Ujjawal Modi
2023-01-29 18:32:07 +05:30
committed by Tim Abbott
parent e163e3ced5
commit d0dbdfa52d
3 changed files with 131 additions and 9 deletions

View File

@@ -126,7 +126,7 @@ def add_emoji_to_message() -> Dict[str, object]:
# The message ID here is hardcoded based on the corresponding value
# for the example message IDs we use in zulip.yaml.
message_id = 46
message_id = 47
emoji_name = "octopus"
emoji_code = "1f419"
reaction_type = "unicode_emoji"