aboutsummaryrefslogtreecommitdiff
path: root/include/User.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/User.hpp')
-rw-r--r--include/User.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/User.hpp b/include/User.hpp
index 85418dc..ac08e36 100644
--- a/include/User.hpp
+++ b/include/User.hpp
@@ -1,5 +1,6 @@
#pragma once
+#include "types.hpp"
#include <string>
#include <odhtdb/Signature.hpp>
@@ -37,6 +38,8 @@ namespace dchat
bool isOnlineUser() const override { return true; }
std::string name;
+ u32 pingCounter;
+ u64 pingTimestamp;
};
class OnlineRemoteUser : public OnlineUser