summary refs log tree commit diff
path: root/src/CacheStructs.h
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2021-07-19 13:31:48 +0000
committerGitHub <noreply@github.com>2021-07-19 13:31:48 +0000
commit9a950c7f0e9a7daac926c78cf98a8b834c02d521 (patch)
treeaba0f1db0658228c81a482b93cf76e976d3ea31f /src/CacheStructs.h
parentMerge pull request #646 from Nheko-Reborn/historical-key-sharing (diff)
parentMake scrolling sticker picker bearable (diff)
downloadnheko-9a950c7f0e9a7daac926c78cf98a8b834c02d521.tar.xz
Merge pull request #648 from Nheko-Reborn/stickers2
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; +};