aboutsummaryrefslogtreecommitdiff
path: root/lib/Matrix
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Matrix')
-rw-r--r--lib/Matrix/Client/MediaStore.rakumod1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Matrix/Client/MediaStore.rakumod b/lib/Matrix/Client/MediaStore.rakumod
index 7afa9e3..cb59626 100644
--- a/lib/Matrix/Client/MediaStore.rakumod
+++ b/lib/Matrix/Client/MediaStore.rakumod
@@ -70,6 +70,7 @@ multi method download(Str $server-name, Str $media-id, Bool :$allow-remote = Tru
)
}
+#| GET - /_matrix/media/r0/config
method config(--> Matrix::Response::MediaStore::Config) {
my $response = $.get("/config");
Matrix::Response::MediaStore::Config.new(from-json($response.content))