From b2822b27a1e321bc12a50232428f51a471aec816 Mon Sep 17 00:00:00 2001 From: Ammar Githam Date: Mon, 3 May 2021 17:40:06 +0900 Subject: [PATCH] Fixes austinhuang0131/barinsta#1199 --- .../main/java/awais/instagrabber/managers/ThreadManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/awais/instagrabber/managers/ThreadManager.java b/app/src/main/java/awais/instagrabber/managers/ThreadManager.java index 6074363e..3f2a59d1 100644 --- a/app/src/main/java/awais/instagrabber/managers/ThreadManager.java +++ b/app/src/main/java/awais/instagrabber/managers/ThreadManager.java @@ -189,7 +189,7 @@ public final class ThreadManager { return null; } final DirectThread thread = threads.stream() - .filter(t -> t.getThreadId().equals(threadId)) + .filter(t -> Objects.equals(t.getThreadId(), threadId)) .findFirst() .orElse(null); if (thread != null) {