mirror of
https://codeberg.org/cage/tinmop/
synced 2025-03-06 10:27:38 +01:00
- fixed testing of post's language
- converted the language from keyword to string for regex scanning; - reverted the test final value because the old one was filtering out posts with allowed language.
This commit is contained in:
parent
5bcc4e966f
commit
9ef30d2451
@ -478,8 +478,8 @@
|
|||||||
(when (or (and (db:user-ignored-p account-id)
|
(when (or (and (db:user-ignored-p account-id)
|
||||||
(not (db:status-skipped-p status-id folder timeline-type)))
|
(not (db:status-skipped-p status-id folder timeline-type)))
|
||||||
(and language
|
(and language
|
||||||
(cl-ppcre:scan (swconf:config-post-allowed-language)
|
(not (cl-ppcre:scan (swconf:config-post-allowed-language)
|
||||||
language))
|
(string-downcase (string language)))))
|
||||||
(and rebloggedp
|
(and rebloggedp
|
||||||
(db:boost-ignored-p account-id))
|
(db:boost-ignored-p account-id))
|
||||||
(and (text-utils:string-not-empty-p tags)
|
(and (text-utils:string-not-empty-p tags)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user