Match query hits in image and video descriptions
This commit is contained in:
parent
fa3e3ad5cb
commit
aec81cc1d7
1 changed files with 2 additions and 1 deletions
|
|
@ -21,4 +21,5 @@
|
|||
(fn [post]
|
||||
(or (match? (j/get post :content))
|
||||
(match? (j/get-in post [:account :acct])) ; search for url + username of poster
|
||||
(some #(match? (j/get % :username)) (j/get post :mentions))))))
|
||||
(some #(match? (j/get % :username)) (j/get post :mentions))
|
||||
(some #(when-let [desc (j/get % :description)] (match? desc)) (j/get post :media_attachments)))))) ; search in alt text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue