mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	popovers: Avoid passing message to actions popover template.
We instead get the specific fields from message that we use. This is particularly helpful for subject -> topic migration; we no longer have to account for "subject" fields in client-side templates.
This commit is contained in:
		@@ -404,7 +404,10 @@ exports.toggle_actions_popover = function (element, id) {
 | 
			
		||||
 | 
			
		||||
        var should_display_delete_option = message_edit.get_deletability(message);
 | 
			
		||||
        var args = {
 | 
			
		||||
            message: message,
 | 
			
		||||
            message_id: message.id,
 | 
			
		||||
            historical: message.historical,
 | 
			
		||||
            stream_id: message.stream_id,
 | 
			
		||||
            topic: util.get_message_topic(message),
 | 
			
		||||
            use_edit_icon: use_edit_icon,
 | 
			
		||||
            editability_menu_item: editability_menu_item,
 | 
			
		||||
            can_mute_topic: can_mute_topic,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user