mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-23 17:20:04 +02:00
Fix issue #478 - Tags cannot be followed when clicking on them.
This commit is contained in:
parent
6d99ab479f
commit
0e8354b0c1
1 changed files with 2 additions and 1 deletions
|
@ -146,7 +146,8 @@ public class TagVM extends AndroidViewModel {
|
|||
tagMutableLiveData = new MutableLiveData<>();
|
||||
new Thread(() -> {
|
||||
Tag tag = null;
|
||||
Call<Tag> tagCall = mastodonTagService.follow(token, name);
|
||||
String filteredValue = name.replaceAll("\\#", "");
|
||||
Call<Tag> tagCall = mastodonTagService.follow(token, filteredValue);
|
||||
if (tagCall != null) {
|
||||
try {
|
||||
Response<Tag> appResponse = tagCall.execute();
|
||||
|
|
Loading…
Reference in a new issue