fix comparsion

This commit is contained in:
kosyak 2024-05-21 13:49:17 +02:00
parent 2c8e801ac0
commit 6a546b03e1

View file

@ -953,7 +953,7 @@ public class NotificationService {
long lastNotificationTimestamp = ensureLastNotificationTimeByConversation().getLong(conversation.getUuid(), 0L); long lastNotificationTimestamp = ensureLastNotificationTimeByConversation().getLong(conversation.getUuid(), 0L);
return (System.currentTimeMillis() - lastNotificationTimestamp) > throttlingPeriod; return (System.currentTimeMillis() - lastNotificationTimestamp) < throttlingPeriod;
} }
private SharedPreferences ensureLastNotificationTimeByConversation() { private SharedPreferences ensureLastNotificationTimeByConversation() {