summary refs log tree commit diff
path: root/src/ChatPage.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-10-25 23:22:39 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-10-25 23:22:39 +0200
commitbbfbba30b0e27dbd606fa09c0e016e94aacd4858 (patch)
treeb01103e1228a548a12d9f79ae6423f10a73738b2 /src/ChatPage.h
parentFix linting (diff)
downloadnheko-bbfbba30b0e27dbd606fa09c0e016e94aacd4858.tar.xz
Allow setting presence state again
Diffstat (limited to 'src/ChatPage.h')
-rw-r--r--src/ChatPage.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ChatPage.h b/src/ChatPage.h

index fbf4fbce..685b719b 100644 --- a/src/ChatPage.h +++ b/src/ChatPage.h
@@ -21,8 +21,6 @@ #include <QSharedPointer> #include <QTimer> -#include "CacheCryptoStructs.h" -#include "CacheStructs.h" #include "ui/RoomSummary.h" class TimelineViewManager; @@ -225,6 +223,9 @@ private: std::unique_ptr<mtx::pushrules::PushRuleEvaluator> pushrules; QDateTime lastSpacesUpdate = QDateTime::currentDateTime(); + + // Stores when our windows lost focus. Invalid when our windows have focus. + QDateTime lastWindowActive; }; template<class Collection>