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)
|
||||
(not (db:status-skipped-p status-id folder timeline-type)))
|
||||
(and language
|
||||
(cl-ppcre:scan (swconf:config-post-allowed-language)
|
||||
language))
|
||||
(not (cl-ppcre:scan (swconf:config-post-allowed-language)
|
||||
(string-downcase (string language)))))
|
||||
(and rebloggedp
|
||||
(db:boost-ignored-p account-id))
|
||||
(and (text-utils:string-not-empty-p tags)
|
||||
|
Loading…
x
Reference in New Issue
Block a user