mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
FEATURE: suggested messages for messages
FEATURE: clicking envelope takes you to inbox Suggested messages works somewhat like suggested topics. - New show up first (in either group inbox or inbox) - Then unread (in either group inbox or inbox) - Finally "related" which are messages with same participants as the current pm.
This commit is contained in:
parent
133fcef72c
commit
bc75010b20
14 changed files with 296 additions and 27 deletions
|
@ -295,7 +295,6 @@ class TopicView
|
|||
end
|
||||
|
||||
def suggested_topics
|
||||
return nil if topic.private_message?
|
||||
@suggested_topics ||= TopicQuery.new(@user).list_suggested_for(topic)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue