From a8e35756f9e2b2a94d76c88e699692aef05555a9 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 5 Dec 2020 06:09:05 +0100 Subject: Matrix: scroll to bottom when receiving previous messages and no visible messages, fix thumbnail size json crash --- src/plugins/Mangadex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/Mangadex.cpp') diff --git a/src/plugins/Mangadex.cpp b/src/plugins/Mangadex.cpp index a8318e8..6df0903 100644 --- a/src/plugins/Mangadex.cpp +++ b/src/plugins/Mangadex.cpp @@ -145,7 +145,7 @@ namespace QuickMedia { const rapidjson::Value &chapter = it.value; const rapidjson::Value ×tamp_json = chapter["timestamp"]; - if(timestamp_json.IsNumber() && timestamp_json.GetInt64() > time_now) + if(timestamp_json.IsInt64() && timestamp_json.GetInt64() > time_now) continue; const rapidjson::Value &lang_code = chapter["lang_code"]; -- cgit v1.2.3