diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-06-02 17:42:30 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-06-02 17:43:47 +0200 |
commit | cc3a65bde2e480b2b07b74eeef20d9081d7f730f (patch) | |
tree | 1bb5b85ab764592093e8042458ec9f4be0cf904a /src/plugins/Fourchan.cpp | |
parent | 1b6812348e75de21c8f398a7dc944cc427064cc4 (diff) |
Add modern theme
Join matrix room by their name instead of id if there is a name.
This allows you to join rooms where the homeserver that created the room
is no longer participating in the room.
Diffstat (limited to 'src/plugins/Fourchan.cpp')
-rw-r--r-- | src/plugins/Fourchan.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/Fourchan.cpp b/src/plugins/Fourchan.cpp index 07b5425..d2f81a9 100644 --- a/src/plugins/Fourchan.cpp +++ b/src/plugins/Fourchan.cpp @@ -167,7 +167,7 @@ namespace QuickMedia { } PluginResult FourchanBoardsPage::submit(const std::string &title, const std::string &url, std::vector<Tab> &result_tabs) { - result_tabs.push_back(Tab{create_body(), std::make_unique<FourchanThreadListPage>(program, title, url), create_search_bar("Search...", SEARCH_DELAY_FILTER)}); + result_tabs.push_back(Tab{create_body(false), std::make_unique<FourchanThreadListPage>(program, title, url), create_search_bar("Search...", SEARCH_DELAY_FILTER)}); return PluginResult::OK; } @@ -353,7 +353,7 @@ namespace QuickMedia { ++body_item_index; } - auto body = create_body(); + auto body = create_body(false); body->items = std::move(result_items); result_tabs.push_back(Tab{std::move(body), std::make_unique<FourchanThreadPage>(program, board_id, url), nullptr}); return PluginResult::OK; |