fix(thread-fragment): fixes crash when status.inReplyTo is null on getDirectDescendants
This commit is contained in:
parent
24abf9d317
commit
7c9d11fab0
|
@ -321,7 +321,7 @@ public class ThreadFragment extends StatusListFragment implements ProvidesAssist
|
|||
|
||||
private static List<Status> getDirectDescendants(String id, List<Status> statuses){
|
||||
return statuses.stream()
|
||||
.filter(s -> s.inReplyToId.equals(id))
|
||||
.filter(s -> id.equals(s.inReplyToId))
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue