diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-07-19 03:02:30 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-07-19 03:02:30 +0200 |
commit | 9d5ba4f681901a0ee241e542fa9be5e2b73f58db (patch) | |
tree | 49db2b8700d72265d5e0e2d4ff18cd037f320c36 /src/CacheStructs.h | |
parent | Basic sticker support (diff) | |
download | nheko-9d5ba4f681901a0ee241e542fa9be5e2b73f58db.tar.xz |
Move sticker parsing and enable room stickers
Diffstat (limited to 'src/CacheStructs.h')
-rw-r--r-- | src/CacheStructs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/CacheStructs.h b/src/CacheStructs.h index 28c70055..f274d70f 100644 --- a/src/CacheStructs.h +++ b/src/CacheStructs.h @@ -11,6 +11,7 @@ #include <string> #include <mtx/events/join_rules.hpp> +#include <mtx/events/mscs/image_packs.hpp> namespace cache { enum class CacheVersion : int @@ -109,3 +110,9 @@ struct RoomSearchResult std::string room_id; RoomInfo info; }; + +struct ImagePackInfo +{ + std::string packname; + std::map<std::string, mtx::events::msc2545::PackImage> images; +}; |