mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	topic: Add recipient_id to fields for message edit saves.
This is preparation for supporting moving messages between streams in some cases. It doesn't actually have any functional effect, since flush_message clears the message unconditionally anyway.
This commit is contained in:
		@@ -104,7 +104,7 @@ def save_message_for_edit_use_case(message: Message) -> None:
 | 
				
			|||||||
    message.save(update_fields=[TOPIC_NAME, "content", "rendered_content",
 | 
					    message.save(update_fields=[TOPIC_NAME, "content", "rendered_content",
 | 
				
			||||||
                                "rendered_content_version", "last_edit_time",
 | 
					                                "rendered_content_version", "last_edit_time",
 | 
				
			||||||
                                "edit_history", "has_attachment", "has_image",
 | 
					                                "edit_history", "has_attachment", "has_image",
 | 
				
			||||||
                                "has_link"])
 | 
					                                "has_link", "recipient_id"])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def user_message_exists_for_topic(user_profile: UserProfile,
 | 
					def user_message_exists_for_topic(user_profile: UserProfile,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user