summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-07-06 20:49:40 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-07-06 20:51:04 +0200
commit1abb52700af5ed13088df1e90bd0bb24577345e9 (patch)
tree7b50ba159a9c0d7f55d36c4888a198a285af4b27 /resources
parentFix event expiration not always stopping properly and redacting some wrong st... (diff)
downloadnheko-1abb52700af5ed13088df1e90bd0bb24577345e9.tar.xz
Add an early out cache for event expiration
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/dialogs/EventExpirationDialog.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/qml/dialogs/EventExpirationDialog.qml b/resources/qml/dialogs/EventExpirationDialog.qml
index 5d12bda8..37268ca7 100644
--- a/resources/qml/dialogs/EventExpirationDialog.qml
+++ b/resources/qml/dialogs/EventExpirationDialog.qml
@@ -104,7 +104,7 @@ ApplicationWindow {
             SpinBox {
                 Layout.alignment: Qt.AlignRight | Qt.AlignVCenter
                 from: 0
-                to: 1000
+                to: 1000000
                 stepSize: 1
                 value: eventExpiry.expireEventsAfterCount
                 onValueChanged: eventExpiry.expireEventsAfterCount = value
@@ -126,7 +126,7 @@ ApplicationWindow {
             SpinBox {
                 Layout.alignment: Qt.AlignRight | Qt.AlignVCenter
                 from: 0
-                to: 1000
+                to: 1000000
                 stepSize: 1
                 value: eventExpiry.protectLatestEvents
                 onValueChanged: eventExpiry.protectLatestEvents = value