fix(hashtag/mute): mute hashtag with prefixed #-symbol

This commit is contained in:
FineFindus 2023-09-25 20:31:29 +02:00
parent 4f8c4c67d2
commit ac8562aaa2
No known key found for this signature in database
GPG key ID: 64873EE210FF8E6B

View file

@ -172,7 +172,7 @@ public class HashtagTimelineFragment extends PinnableStatusListFragment {
private void muteHashtag() {
FilterKeyword hashtagFilter=new FilterKeyword();
hashtagFilter.wholeWord=true;
hashtagFilter.keyword=hashtag;
hashtagFilter.keyword="#"+hashtag;
new CreateFilter("#"+hashtag, EnumSet.of(FilterContext.HOME), FilterAction.HIDE, 0 , List.of(hashtagFilter)).setCallback(new Callback<Filter>(){
@Override
public void onSuccess(Filter result){