From ac8562aaa2efbca136e5e57fb9d46a9158e75a5c Mon Sep 17 00:00:00 2001 From: FineFindus Date: Mon, 25 Sep 2023 20:31:29 +0200 Subject: [PATCH] fix(hashtag/mute): mute hashtag with prefixed #-symbol --- .../joinmastodon/android/fragments/HashtagTimelineFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/HashtagTimelineFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/HashtagTimelineFragment.java index ca5c5f6231..a9a74c4204 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/HashtagTimelineFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/HashtagTimelineFragment.java @@ -172,7 +172,7 @@ private void unmuteHashtag() { 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(){ @Override public void onSuccess(Filter result){