Skip to content

Commit

Permalink
fix(HashtagTimelineFragment): display correct URL in recents menu
Browse files Browse the repository at this point in the history
Fixes an issue, where the hashtag, instead of the hashtagName was displayed in the recents menu, causing the toString() function of the hashtag to be called, which inlcuded all the hashtag data, producing a faulty URL.
  • Loading branch information
FineFindus authored Jun 13, 2024
1 parent 4f11a79 commit 4c9f7fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ protected FilterContext getFilterContext() {

@Override
public Uri getWebUri(Uri.Builder base) {
return base.path((isInstanceAkkoma() ? "/tag/" : "/tags/") + hashtag).build();
return base.path((isInstanceAkkoma() ? "/tag/" : "/tags/") + hashtagName).build();
}

@Override
Expand Down

0 comments on commit 4c9f7fc

Please sign in to comment.