Add a quote URL to the search target string
This commit is contained in:
parent
afcefb1f46
commit
4bb8969b69
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ class Status < ApplicationRecord
|
|||
end
|
||||
|
||||
def index_text
|
||||
@index_text ||= [spoiler_text, Formatter.instance.plaintext(self)].concat(media_attachments.map(&:description)).concat(preloadable_poll ? preloadable_poll.options : []).join("\n\n")
|
||||
@index_text ||= [spoiler_text, Formatter.instance.plaintext(self)].concat(media_attachments.map(&:description)).concat(preloadable_poll ? preloadable_poll.options : []).concat(quote? ? ["QT: [#{quote.url || ActivityPub::TagManager.instance.url_for(quote)}]"] : []).filter(&:present?).join("\n\n")
|
||||
end
|
||||
|
||||
def replies_count
|
||||
|
|
Loading…
Reference in a new issue