From 539d9b457c4f30ef0731a479772212e7ce8bfd7c Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 30 Mar 2021 00:45:51 +0200 Subject: Remove tor option. Use torsocks instead (which is what quickmedia did anyways) --- plugins/Matrix.hpp | 2 -- plugins/Page.hpp | 1 - 2 files changed, 3 deletions(-) (limited to 'plugins') diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp index da55f81..b240cb8 100644 --- a/plugins/Matrix.hpp +++ b/plugins/Matrix.hpp @@ -502,8 +502,6 @@ namespace QuickMedia { RoomData* get_room_by_id(const std::string &id); void update_user_with_latest_state(RoomData *room, const std::string &user_id); void update_room_users(RoomData *room); - - bool use_tor = false; private: PluginResult set_qm_last_read_message_timestamp(RoomData *room, int64_t timestamp); diff --git a/plugins/Page.hpp b/plugins/Page.hpp index 803b9e6..8ef2b59 100644 --- a/plugins/Page.hpp +++ b/plugins/Page.hpp @@ -54,7 +54,6 @@ namespace QuickMedia { // Called periodically (every frame right now) if this page is the currently active one virtual void update() {} - bool is_tor_enabled(); std::unique_ptr create_body(); std::unique_ptr create_search_bar(const std::string &placeholder_text, int search_delay); -- cgit v1.2.3