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 23:06:14 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-05-20 00:57:51 +0200
commit7fab9a1d73e628ca2371d2215b0198806aa85e94 (patch)
tree4c4e529617cae41a5d3c4ab0574f5cecf0c12f80 /src/SingleImagePackModel.h
parentFix adding duplicate stickers and strip file extension (diff)
downloadnheko-7fab9a1d73e628ca2371d2215b0198806aa85e94.tar.xz
Prevent new packs from overwriting the default pack by accident
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 65a27bcf..595f5a78 100644
--- a/src/SingleImagePackModel.h
+++ b/src/SingleImagePackModel.h
@@ -71,6 +71,8 @@ public:
     Q_INVOKABLE void remove(int index);
     Q_INVOKABLE void setAvatar(QUrl file);
 
+    static std::string unconflictingStatekey(const std::string &roomid, const std::string &key);
+
 signals:
     void globallyEnabledChanged();
     void statekeyChanged();