summary refs log tree commit diff
path: root/src/CacheStructs.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-07-19 03:02:30 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-07-19 03:02:30 +0200
commit9d5ba4f681901a0ee241e542fa9be5e2b73f58db (patch)
tree49db2b8700d72265d5e0e2d4ff18cd037f320c36 /src/CacheStructs.h
parentBasic sticker support (diff)
downloadnheko-9d5ba4f681901a0ee241e542fa9be5e2b73f58db.tar.xz
Move sticker parsing and enable room stickers
Diffstat (limited to 'src/CacheStructs.h')
-rw-r--r--src/CacheStructs.h7
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;
+};