From 7d8d0e76f36505313b8c44c0d8c08ac465af5b78 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Wed, 7 Aug 2019 15:04:12 -0700 Subject: [PATCH] modules/media/download: Mark the allow_remote query string sent by R!ot. --- modules/media/download.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/media/download.cc b/modules/media/download.cc index 1804548f0..1a87ad663 100644 --- a/modules/media/download.cc +++ b/modules/media/download.cc @@ -66,6 +66,11 @@ get__download(client &client, m::me.user_id }; + const bool allow_remote + { + request.query.get("allow_remote", true) + }; + const m::room::id::buf room_id { download(server, file, user_id)