mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	actions: Change type of wildcard_mention_user_ids in message_dict to set.
The message_dict['wildcard_mention_user_ids'] should be empty set instead of empty list when there are no wildcard mentions similar to the case when there are wildcard mentions, where it is equal to set of user ids and not list of user ids.
This commit is contained in:
		@@ -1495,7 +1495,7 @@ def build_message_send_dict(message_dict: Dict[str, Any],
 | 
				
			|||||||
    if message_dict['message'].mentions_wildcard:
 | 
					    if message_dict['message'].mentions_wildcard:
 | 
				
			||||||
        message_dict['wildcard_mention_user_ids'] = info['wildcard_mention_user_ids']
 | 
					        message_dict['wildcard_mention_user_ids'] = info['wildcard_mention_user_ids']
 | 
				
			||||||
    else:
 | 
					    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
 | 
					    Once we have the actual list of mentioned ids from message
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user