From 6a546b03e140ac1c3d672a0f0d9d1699371fa601 Mon Sep 17 00:00:00 2001 From: kosyak Date: Tue, 21 May 2024 13:49:17 +0200 Subject: [PATCH] fix comparsion --- .../eu/siacs/conversations/services/NotificationService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/services/NotificationService.java b/src/main/java/eu/siacs/conversations/services/NotificationService.java index 97e6039bf..b32e2cb6f 100644 --- a/src/main/java/eu/siacs/conversations/services/NotificationService.java +++ b/src/main/java/eu/siacs/conversations/services/NotificationService.java @@ -953,7 +953,7 @@ public class NotificationService { long lastNotificationTimestamp = ensureLastNotificationTimeByConversation().getLong(conversation.getUuid(), 0L); - return (System.currentTimeMillis() - lastNotificationTimestamp) > throttlingPeriod; + return (System.currentTimeMillis() - lastNotificationTimestamp) < throttlingPeriod; } private SharedPreferences ensureLastNotificationTimeByConversation() {