mirror of
https://github.com/tateisu/SubwayTooter
synced 2025-02-05 21:23:26 +01:00
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.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)
|
||||
|
||||
|
@ -296,7 +296,7 @@ class TootStatus(parser : TootParser, src : JSONObject) :
|
||||
get() = id
|
||||
|
||||
val busyKey : String
|
||||
get() = hostAccessOrOriginal + ":" + idAccessOrOriginal
|
||||
get() = "$hostAccessOrOriginal:$idAccessOrOriginal"
|
||||
|
||||
fun checkMuted(muted_app : HashSet<String>?, muted_word : WordTrieTree?) : Boolean {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user