diff --git a/QHotkey b/QHotkey index 9eace8f..2578b69 160000 --- a/QHotkey +++ b/QHotkey @@ -1 +1 @@ -Subproject commit 9eace8fbbd8dede95db623eea5e25403fd59b490 +Subproject commit 2578b69dc51e3786402777e650181c5735015e1a diff --git a/uploaders/customuploader.cpp b/uploaders/customuploader.cpp index e694fbd..079911a 100644 --- a/uploaders/customuploader.cpp +++ b/uploaders/customuploader.cpp @@ -173,7 +173,8 @@ QJsonObject recurseAndReplace(QJsonObject &body, QByteArray &data, QString conte if (str.startsWith("/") && str.endsWith("/")) { o.insert(s, str.replace("%image", data).replace("%contenttype", contentType)); } - } + } else + o.insert(s, v); } return o; }