aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-09-08 20:31:30 +0200
committerdec05eba <dec05eba@protonmail.com>2022-09-08 20:31:30 +0200
commitd0dda48e791e6f08f6be3936623a2c305caacb3c (patch)
tree0e1289c3034ad30235f84df54a4884661aee0c23 /include
parent215ac920166087ffcf917c293caf6497adf50c3d (diff)
Peertube: load known instances from config file
Diffstat (limited to 'include')
-rw-r--r--include/Config.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/Config.hpp b/include/Config.hpp
index 6aabc65..4d9fd91 100644
--- a/include/Config.hpp
+++ b/include/Config.hpp
@@ -51,6 +51,10 @@ namespace QuickMedia {
std::vector<std::string> known_homeservers;
};
+ struct Peertube {
+ std::vector<std::string> known_instances;
+ };
+
struct Config {
Config() = default;
Config(const Config&) = delete;
@@ -65,6 +69,7 @@ namespace QuickMedia {
LocalAnimeConfig local_anime;
YoutubeConfig youtube;
MatrixConfig matrix;
+ Peertube peertube;
bool use_system_fonts = false;
bool use_system_mpv_config = false;
bool enable_shaders = true;