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() {