aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {