fix comparsion
This commit is contained in:
parent
2c8e801ac0
commit
6a546b03e1
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue