fix thread replies not added to data

closes sk22#543
This commit is contained in:
sk 2023-06-03 21:08:36 +02:00
parent f696fcd412
commit 11943571ad
1 changed files with 1 additions and 0 deletions

View File

@ -247,6 +247,7 @@ public class ThreadFragment extends StatusListFragment implements ProvidesAssist
protected void onStatusCreated(StatusCreatedEvent ev){ protected void onStatusCreated(StatusCreatedEvent ev){
if(ev.status.inReplyToId!=null && getStatusByID(ev.status.inReplyToId)!=null){ if(ev.status.inReplyToId!=null && getStatusByID(ev.status.inReplyToId)!=null){
data.add(ev.status);
onAppendItems(Collections.singletonList(ev.status)); onAppendItems(Collections.singletonList(ev.status));
} }
} }