mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Show @-mentioned messages even for muted topics
This addresses Trac #1929 (imported from commit 1b30ee7ae602e83f5977ffd4f32e478f719683d1)
This commit is contained in:
		@@ -342,7 +342,8 @@ MessageList.prototype = {
 | 
			
		||||
 | 
			
		||||
    unmuted_messages: function MessageList_unmuted_messages(messages) {
 | 
			
		||||
        return _.reject(messages, function (message) {
 | 
			
		||||
            return muting.is_topic_muted(message.stream, message.subject);
 | 
			
		||||
            return muting.is_topic_muted(message.stream, message.subject) &&
 | 
			
		||||
                   !message.mentioned;
 | 
			
		||||
        });
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user