From cbf5795a22a5ea366a9117418c311da3e9a1bfa4 Mon Sep 17 00:00:00 2001 From: Ammar Githam Date: Fri, 21 Aug 2020 22:45:07 +0900 Subject: [PATCH] Revert liked variable to equal only user like --- .../models/direct_messages/DirectItemModel.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/awais/instagrabber/models/direct_messages/DirectItemModel.java b/app/src/main/java/awais/instagrabber/models/direct_messages/DirectItemModel.java index 877169c4..d5a79c07 100755 --- a/app/src/main/java/awais/instagrabber/models/direct_messages/DirectItemModel.java +++ b/app/src/main/java/awais/instagrabber/models/direct_messages/DirectItemModel.java @@ -3,6 +3,7 @@ package awais.instagrabber.models.direct_messages; import androidx.annotation.NonNull; import java.io.Serializable; +import java.util.Arrays; import java.util.Date; import awais.instagrabber.models.ProfileModel; @@ -12,6 +13,8 @@ import awais.instagrabber.models.enums.RavenExpiringMediaType; import awais.instagrabber.models.enums.RavenMediaViewType; import awais.instagrabber.utils.Utils; +import static awais.instagrabber.utils.Constants.COOKIE; + public final class DirectItemModel implements Serializable, Comparable { private final long userId, timestamp; private final DirectItemType itemType; @@ -30,20 +33,19 @@ public final class DirectItemModel implements Serializable, Comparable