1
0
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:
cage 2023-09-24 11:07:07 +02:00
parent 5bcc4e966f
commit 9ef30d2451

View File

@ -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)