mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +08:00
FIX: exclude topics from muted tag in category featured list. (#14925)
Topics from muted tags were visible in the categories page's featured topics section since we didn't filter it before.
This commit is contained in:
@ -39,7 +39,7 @@ class TopicQuery
|
||||
|
||||
def list_private_messages_new(user, type = :user)
|
||||
list = filter_private_message_new(user, type)
|
||||
list = remove_muted_tags(list, user)
|
||||
list = TopicQuery.remove_muted_tags(list, user)
|
||||
list = remove_dismissed(list, user)
|
||||
|
||||
create_list(:private_messages, {}, list)
|
||||
|
Reference in New Issue
Block a user