diff --git a/app/src/main/java/app/fedilab/android/viewmodel/mastodon/TagVM.java b/app/src/main/java/app/fedilab/android/viewmodel/mastodon/TagVM.java index 62b90327..b2d8b7e8 100644 --- a/app/src/main/java/app/fedilab/android/viewmodel/mastodon/TagVM.java +++ b/app/src/main/java/app/fedilab/android/viewmodel/mastodon/TagVM.java @@ -146,7 +146,8 @@ public class TagVM extends AndroidViewModel { tagMutableLiveData = new MutableLiveData<>(); new Thread(() -> { Tag tag = null; - Call tagCall = mastodonTagService.follow(token, name); + String filteredValue = name.replaceAll("\\#", ""); + Call tagCall = mastodonTagService.follow(token, filteredValue); if (tagCall != null) { try { Response appResponse = tagCall.execute();