mirror of
https://github.com/kiwix/libkiwix.git
synced 2026-10-24 01:49:15 -04:00
Store the downloadId in the book (and in the library).
This commit is contained in:
1 parent
43ff8565d1
commit
fe6d5fa93e
3 files changed
+10
No files matched your search
@@ -123,6 +123,9 @@ void Book::updateFromXml(const pugi::xml_node& node, const std::string& baseDir)
|
||||
m_size = strtoull(ATTR("size"), 0, 0);
|
||||
m_favicon = base64_decode(ATTR("favicon"));
|
||||
m_faviconMimeType = ATTR("faviconMimeType");
|
||||
try {
|
||||
m_downloadId = ATTR("downloadId");
|
||||
} catch(...) {}
|
||||
}
|
||||
#undef ATTR
|
||||
|
||||
|
||||
Reference in new issue
Block a user