diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-04-30 21:04:47 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-04-30 21:18:06 +0200 |
commit | 50afa93c577bed3eb9911d141d46f2e0d3ba2572 (patch) | |
tree | f910aa9617bca27435325fb72eec36d8e9aea808 /src/plugins/ImageBoard.cpp | |
parent | 47bb22a4aee886deb54ca432bdb14747bf2e9160 (diff) |
Add 4chan file upload
Diffstat (limited to 'src/plugins/ImageBoard.cpp')
-rw-r--r-- | src/plugins/ImageBoard.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/plugins/ImageBoard.cpp b/src/plugins/ImageBoard.cpp index 6f97082..881d8ff 100644 --- a/src/plugins/ImageBoard.cpp +++ b/src/plugins/ImageBoard.cpp @@ -1,21 +1,6 @@ #include "../../plugins/ImageBoard.hpp" namespace QuickMedia { - BodyItems ImageBoardThreadPage::get_related_media(const std::string &url, std::string&) { - BodyItems body_items; - auto it = std::find(cached_media_urls.begin(), cached_media_urls.end(), url); - if(it == cached_media_urls.end()) - return body_items; - - ++it; - for(; it != cached_media_urls.end(); ++it) { - auto body_item = BodyItem::create(""); - body_item->url = *it; - body_items.push_back(std::move(body_item)); - } - return body_items; - } - std::unique_ptr<RelatedVideosPage> ImageBoardThreadPage::create_related_videos_page(Program*, const std::string&, const std::string&) { return nullptr; } |