diff options
Diffstat (limited to 'src/chatManager.hpp')
| -rw-r--r-- | src/chatManager.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/chatManager.hpp b/src/chatManager.hpp index 0f423f7..46b02de 100644 --- a/src/chatManager.hpp +++ b/src/chatManager.hpp @@ -1,6 +1,7 @@ #pragma once #include <memory> +#include <optional> #include <string> #include <vector> @@ -11,6 +12,7 @@ class CChatManager { struct SMessage { std::string msg; std::string username; + std::optional<uintptr_t> sender = std::nullopt; bool admin = false; }; void newMessage(const SMessage &msg); |
