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:
parent
0f8cabdcb9
commit
7d8d0e76f3
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue