regex filter check also spoiler text of content warning
This commit is contained in:
parent
46d90ff353
commit
33561361dc
@ -1156,6 +1156,8 @@ class Column(
|
|||||||
|
|
||||||
if(column_regex_filter(status.decoded_content)) return true
|
if(column_regex_filter(status.decoded_content)) return true
|
||||||
if(column_regex_filter(status.reblog?.decoded_content)) return true
|
if(column_regex_filter(status.reblog?.decoded_content)) return true
|
||||||
|
if(column_regex_filter(status.decoded_spoiler_text)) return true
|
||||||
|
if(column_regex_filter(status.reblog?.decoded_spoiler_text)) return true
|
||||||
|
|
||||||
return status.checkMuted(muted_app, muted_word)
|
return status.checkMuted(muted_app, muted_word)
|
||||||
|
|
||||||
|
@ -296,7 +296,7 @@ class TootStatus(parser : TootParser, src : JSONObject) :
|
|||||||
get() = id
|
get() = id
|
||||||
|
|
||||||
val busyKey : String
|
val busyKey : String
|
||||||
get() = hostAccessOrOriginal + ":" + idAccessOrOriginal
|
get() = "$hostAccessOrOriginal:$idAccessOrOriginal"
|
||||||
|
|
||||||
fun checkMuted(muted_app : HashSet<String>?, muted_word : WordTrieTree?) : Boolean {
|
fun checkMuted(muted_app : HashSet<String>?, muted_word : WordTrieTree?) : Boolean {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user