Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

actions: Change type of wildcard_mention_user_ids in message_dict to set.

sahil839db85b8a236ce
diff --git a/zerver/lib/actions.py b/zerver/lib/actions.py
index fe17a2e263e..ca44ce0fdc3 100644
--- a/zerver/lib/actions.py
+++ b/zerver/lib/actions.py
@@ -1495,7 +1495,7 @@ def build_message_send_dict(message_dict: Dict[str, Any],
if message_dict['message'].mentions_wildcard:
message_dict['wildcard_mention_user_ids'] = info['wildcard_mention_user_ids']
else:
- message_dict['wildcard_mention_user_ids'] = []
+ message_dict['wildcard_mention_user_ids'] = set()
'''
Once we have the actual list of mentioned ids from message