aboutsummaryrefslogtreecommitdiff
path: root/src/QuickMedia.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-02-03 19:06:23 +0100
committerdec05eba <dec05eba@protonmail.com>2022-02-03 19:06:23 +0100
commitf7f45ddc492b992cc49a92f620e37316e4d1fed4 (patch)
tree4269403c18b067c0fb6b5b397ae368d019fabdc2 /src/QuickMedia.cpp
parent39ab966ebf9c23c8e801a904836a73be56b5ab92 (diff)
Add thumbnail to bookmarked manga page
Diffstat (limited to 'src/QuickMedia.cpp')
-rw-r--r--src/QuickMedia.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index d1cc0e3..cbe8ea4 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -1642,6 +1642,8 @@ namespace QuickMedia {
new_item["author"] = body_item->get_author();
if(!body_item->url.empty())
new_item["url"] = body_item->url;
+ if(!body_item->thumbnail_url.empty())
+ new_item["thumbnail_url"] = body_item->thumbnail_url;
new_item["timestamp"] = (int64_t)time(nullptr);
json_root.append(std::move(new_item));