0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-15 14:31:11 +01:00

modules/media/download: Mark the allow_remote query string sent by R!ot.

This commit is contained in:
Jason Volk 2019-08-07 15:04:12 -07:00
parent 0f8cabdcb9
commit 7d8d0e76f3

View file

@ -66,6 +66,11 @@ get__download(client &client,
m::me.user_id
};
const bool allow_remote
{
request.query.get<bool>("allow_remote", true)
};
const m::room::id::buf room_id
{
download(server, file, user_id)