From 7f1024484ec5b9284f924efa4c7d774bb3295cb2 Mon Sep 17 00:00:00 2001 From: Matias Linares Date: Tue, 8 May 2018 16:21:37 -0300 Subject: Use correct endpoint to join a room --- lib/Matrix/Client.pm6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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) { -- cgit v1.2.3-70-g09d2