mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-23 01:00:04 +02:00
Fix issue #252 - Empty timelines for Tags
This commit is contained in:
parent
8a0460536c
commit
eaac079d89
1 changed files with 2 additions and 1 deletions
|
@ -397,7 +397,8 @@ public class TimelinesVM extends AndroidViewModel {
|
|||
MastodonTimelinesService mastodonTimelinesService = init(instance);
|
||||
new Thread(() -> {
|
||||
Statuses statuses = new Statuses();
|
||||
Call<List<Status>> hashTagTlCall = mastodonTimelinesService.getHashTag(token, hashtag, local, onlyMedia, all, any, none, maxId, sinceId, minId, limit);
|
||||
String hashtagTrim = hashtag.replaceAll("\\#", "");
|
||||
Call<List<Status>> hashTagTlCall = mastodonTimelinesService.getHashTag(token, hashtagTrim, local, onlyMedia, all, any, none, maxId, sinceId, minId, limit);
|
||||
if (hashTagTlCall != null) {
|
||||
try {
|
||||
Response<List<Status>> hashTagTlResponse = hashTagTlCall.execute();
|
||||
|
|
Loading…
Reference in a new issue