From 1975d740f704a5e5b25ac36e5fcf6e041df01307 Mon Sep 17 00:00:00 2001 From: rexy712 Date: Sat, 21 Dec 2019 19:56:20 -0800 Subject: [PATCH] Fix matrix-send build --- possible_rest_idea.txt | 19 +++++++++++++++++++ util/matrix-send.cpp | 1 - 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 possible_rest_idea.txt diff --git a/possible_rest_idea.txt b/possible_rest_idea.txt new file mode 100644 index 0000000..c979b34 --- /dev/null +++ b/possible_rest_idea.txt @@ -0,0 +1,19 @@ +matrix::rest::spec_revision = r0 +matrix::rest::media_api = /_matrix/client/ +matrix::rest::client_api = /_matrix/media/ + +matrix::rest::manager{ + protocol = https + homeserver = rexy712.chickenkiller.com + + cache reusable urls + + spawn room specific url manager +} +matrix::rest::roommanager{ + protocol = https + homeserver = rexy712.chickenkiller.com + + cache reusable room level urls +} +matrix::rest::client diff --git a/util/matrix-send.cpp b/util/matrix-send.cpp index 47b000a..d8ff1ec 100644 --- a/util/matrix-send.cpp +++ b/util/matrix-send.cpp @@ -26,7 +26,6 @@ #include #include #include "raii/rjp_ptr.hpp" -#include "raii/static_string.hpp" #include "raii/string.hpp" void check_netreturn_errors(const matrix::netreturn& n){