summary refs log tree commit diff
path: root/src/GridImagePackModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/GridImagePackModel.cpp')
-rw-r--r--src/GridImagePackModel.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/GridImagePackModel.cpp b/src/GridImagePackModel.cpp
index cfd014f0..4dbe6af3 100644
--- a/src/GridImagePackModel.cpp
+++ b/src/GridImagePackModel.cpp
@@ -10,7 +10,6 @@
 #include <algorithm>
 
 #include "Cache.h"
-#include "Cache_p.h"
 #include "emoji/Provider.h"
 
 QString
@@ -102,7 +101,7 @@ GridImagePackModel::GridImagePackModel(const std::string &roomId, bool stickers,
         }
     }
 
-    auto originalPacks = cache::client()->getImagePacks(room_id, stickers);
+    auto originalPacks = cache::getImagePacks(room_id, stickers);
 
     for (auto &pack : originalPacks) {
         PackDesc newPack{};