From 4bf725379af5b98e4403769abe608ea17dcd5bdb Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Fri, 19 May 2023 22:39:03 +0200 Subject: Fix adding duplicate stickers and strip file extension --- src/SingleImagePackModel.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/SingleImagePackModel.h') 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_; -- cgit 1.5.1