diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-11-09 09:45:13 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2018-11-09 09:45:15 +0100 |
commit | 1a1d3b7dc56e173d46d89fd9c05cd295bb8bcbf2 (patch) | |
tree | 0ad31527301790b0d63317a17194e91e1b494919 /include/dchat/User.hpp | |
parent | 8d5f778bced78b1ecaae7b5a301f9da5e7d9af2d (diff) |
Room join/invite, fix build for mingw
Diffstat (limited to 'include/dchat/User.hpp')
-rw-r--r-- | include/dchat/User.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/dchat/User.hpp b/include/dchat/User.hpp index 4021c78..245197f 100644 --- a/include/dchat/User.hpp +++ b/include/dchat/User.hpp @@ -1,7 +1,10 @@ #pragma once +#include "Group.hpp" #include <string> +#include <vector> #include <odhtdb/Signature.hpp> +#include <memory> namespace dchat { @@ -11,6 +14,7 @@ namespace dchat User(const odhtdb::Signature::PublicKey &_publicKey) : publicKey(_publicKey), userdata(nullptr) {} const odhtdb::Signature::PublicKey publicKey; std::string nickname; + std::vector<std::shared_ptr<Group>> groups; void *userdata; }; }
\ No newline at end of file |