diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-05-19 22:39:03 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-05-20 00:57:51 +0200 |
commit | 4bf725379af5b98e4403769abe608ea17dcd5bdb (patch) | |
tree | f9eda3106167cbbef3cceefa5f6e110816c362ae /src/SingleImagePackModel.h | |
parent | Use case folding instead of lower case for search (diff) | |
download | nheko-4bf725379af5b98e4403769abe608ea17dcd5bdb.tar.xz |
Fix adding duplicate stickers and strip file extension
Diffstat (limited to '')
-rw-r--r-- | src/SingleImagePackModel.h | 2 |
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_; |