mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
FIX: Show read indicator only for group PMs (#11224)
It used to show for PMs converted to public topics.
This commit is contained in:
@ -106,7 +106,7 @@ class TopicView
|
||||
end
|
||||
|
||||
def show_read_indicator?
|
||||
return false unless @user || topic.private_message?
|
||||
return false if !@user || !topic.private_message?
|
||||
|
||||
topic.allowed_groups.any? do |group|
|
||||
group.publish_read_state? && group.users.include?(@user)
|
||||
|
Reference in New Issue
Block a user