summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@openmailbox.org>2018-05-08 16:21:37 -0300
committerMatias Linares <matiaslina@openmailbox.org>2018-05-08 16:21:37 -0300
commit7f1024484ec5b9284f924efa4c7d774bb3295cb2 (patch)
tree53783be956c6956d35092188879103d2de18681b
parentbe3d6daef3a7cb75d832f4270fde9441f4fd0947 (diff)
downloadperl6-matrix-client-7f1024484ec5b9284f924efa4c7d774bb3295cb2.tar.gz
Use correct endpoint to join a room
-rw-r--r--lib/Matrix/Client.pm62
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Matrix/Client.pm6 b/lib/Matrix/Client.pm6
index d21d077..b0f4230 100644
--- a/lib/Matrix/Client.pm6
+++ b/lib/Matrix/Client.pm6
@@ -136,7 +136,7 @@ multi method sync(:$sync-filter is copy, :$since = "") {
# Rooms
method join-room($room-id!) {
- $.post("/join/$room-id")
+ $.post("/rooms/$room-id/join")
}
method leave-room($room-id) {