3891: Match (only) title for muting state
This commit is contained in:
parent
35fd702472
commit
70d86345a8
|
@ -186,9 +186,7 @@ class StatusListActivity : BottomSheetActivity(), HasAndroidInjector {
|
|||
{ filters ->
|
||||
mutedFilter = filters.firstOrNull { filter ->
|
||||
// TODO shouldn't this be an exact match (only one keyword; exactly the hashtag)?
|
||||
filter.context.contains(Filter.Kind.HOME.kind) && filter.keywords.any {
|
||||
it.keyword == hashedTag
|
||||
}
|
||||
filter.context.contains(Filter.Kind.HOME.kind) && filter.title == hashedTag
|
||||
}
|
||||
updateTagMuteState(mutedFilter != null)
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue