aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-09-23 23:45:21 +0200
committerdec05eba <dec05eba@protonmail.com>2020-09-23 23:45:25 +0200
commit4690ba0cc66338b1f00e08fb6054ee95c1c0dcc6 (patch)
tree17f609546b85cb6b1243e53f66c27fd89ead91ef /src/plugins
parent23dd37254cdf7479b88a7f1d711ecb5de92440e8 (diff)
Fallback to cjk font, change font to system noto sans
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/Fourchan.cpp2
-rw-r--r--src/plugins/Matrix.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/Fourchan.cpp b/src/plugins/Fourchan.cpp
index 4490f39..a70070e 100644
--- a/src/plugins/Fourchan.cpp
+++ b/src/plugins/Fourchan.cpp
@@ -519,7 +519,7 @@ namespace QuickMedia {
html_unescape_sequences(comment_text);
BodyItem *body_item = result_items[body_item_index].get();
body_item->set_title(std::move(comment_text));
- body_item->author = std::move(author_str);
+ body_item->set_author(std::move(author_str));
const Json::Value &ext = post["ext"];
const Json::Value &tim = post["tim"];
diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp
index e806f39..1e8b927 100644
--- a/src/plugins/Matrix.cpp
+++ b/src/plugins/Matrix.cpp
@@ -190,7 +190,7 @@ namespace QuickMedia {
result_items.back()->append_description(it->body);
} else {
auto body_item = std::make_unique<BodyItem>("");
- body_item->author = user_info.display_name;
+ body_item->set_author(user_info.display_name);
body_item->set_description(it->body);
if(!it->thumbnail_url.empty())
body_item->thumbnail_url = it->thumbnail_url;