mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-01-07 00:20:08 +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);
|
MastodonTimelinesService mastodonTimelinesService = init(instance);
|
||||||
new Thread(() -> {
|
new Thread(() -> {
|
||||||
Statuses statuses = new Statuses();
|
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) {
|
if (hashTagTlCall != null) {
|
||||||
try {
|
try {
|
||||||
Response<List<Status>> hashTagTlResponse = hashTagTlCall.execute();
|
Response<List<Status>> hashTagTlResponse = hashTagTlCall.execute();
|
||||||
|
|
Loading…
Reference in a new issue