summary refs log tree commit diff
path: root/src/SingleImagePackModel.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-05-19 22:39:03 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-05-20 00:57:51 +0200
commit4bf725379af5b98e4403769abe608ea17dcd5bdb (patch)
treef9eda3106167cbbef3cceefa5f6e110816c362ae /src/SingleImagePackModel.h
parentUse case folding instead of lower case for search (diff)
downloadnheko-4bf725379af5b98e4403769abe608ea17dcd5bdb.tar.xz
Fix adding duplicate stickers and strip file extension
Diffstat (limited to '')
-rw-r--r--src/SingleImagePackModel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SingleImagePackModel.h b/src/SingleImagePackModel.h
index 09a59a2f..65a27bcf 100644
--- a/src/SingleImagePackModel.h
+++ b/src/SingleImagePackModel.h
@@ -87,6 +87,8 @@ private slots:
     void addImageCb(std::string uri, std::string filename, mtx::common::ImageInfo info);
 
 private:
+    std::string unconflictingShortcode(const std::string &shortcode);
+
     std::string roomid_;
     std::string statekey_, old_statekey_;