aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-08-21 16:36:58 +0200
committerlain <lain@soykaf.club>2020-08-21 16:36:58 +0200
commita67483faa475c248c04bb1e00cd7d79629ef574d (patch)
tree0c5e2cec6b0ab7fef7839c30428128cdce771d4a
parenta2ea4d8981b751d55b819b198d66ba0e95e6d7f8 (diff)
downloadpleroma-a67483faa475c248c04bb1e00cd7d79629ef574d.tar.gz
.
-rw-r--r--lib/pleroma/web/router.ex4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex
index fe299846f..270baccc9 100644
--- a/lib/pleroma/web/router.ex
+++ b/lib/pleroma/web/router.ex
@@ -720,6 +720,10 @@ defmodule Pleroma.Web.Router do
get("/client/r0/presence/:user_id/status", MatrixController, :presence_status)
get("/client/r0/user/:user_id/filter/:filter_id", MatrixController, :filter)
get("/media/r0/download/:authority/:file", MatrixController, :download)
+ get("/media/r0/thumbnail/:authority/:file", MatrixController, :download)
+ # Says it's r0 in the documentation, seems it's actually v1 on iOS
+ get("/media/v1/download/:authority/:file", MatrixController, :download)
+ get("/media/v1/thumbnail/:authority/:file", MatrixController, :download)
end
scope "/_matrix", Pleroma.Web do