Browse Source

Fixes austinhuang0131/barinsta#1199

renovate/org.robolectric-robolectric-4.x
Ammar Githam 4 years ago
parent
commit
b2822b27a1
  1. 2
      app/src/main/java/awais/instagrabber/managers/ThreadManager.java

2
app/src/main/java/awais/instagrabber/managers/ThreadManager.java

@ -189,7 +189,7 @@ public final class ThreadManager {
return null; return null;
} }
final DirectThread thread = threads.stream() final DirectThread thread = threads.stream()
.filter(t -> t.getThreadId().equals(threadId))
.filter(t -> Objects.equals(t.getThreadId(), threadId))
.findFirst() .findFirst()
.orElse(null); .orElse(null);
if (thread != null) { if (thread != null) {

Loading…
Cancel
Save