mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 12:03:46 +00:00 
			
		
		
		
	message_edit: Pass acting_user to update_messages_for_topic_edit.
We'll need for checking access if non-administrators can move topics.
This commit is contained in:
		| @@ -5877,6 +5877,7 @@ def do_update_message( | ||||
|         } | ||||
|  | ||||
|         messages_list = update_messages_for_topic_edit( | ||||
|             acting_user=user_profile, | ||||
|             edited_message=target_message, | ||||
|             propagate_mode=propagate_mode, | ||||
|             orig_topic_name=orig_topic_name, | ||||
|   | ||||
| @@ -139,6 +139,7 @@ def update_edit_history( | ||||
|  | ||||
|  | ||||
| def update_messages_for_topic_edit( | ||||
|     acting_user: UserProfile, | ||||
|     edited_message: Message, | ||||
|     propagate_mode: str, | ||||
|     orig_topic_name: str, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user