From 0ea9f135fdd0d1d2337859aac5656836e0b45fdc Mon Sep 17 00:00:00 2001 From: Matias Linares Date: Sun, 3 Jun 2018 12:37:30 -0300 Subject: Return True on success login --- lib/Matrix/Client.pm6 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/Matrix/Client.pm6 b/lib/Matrix/Client.pm6 index af9ef8b..6fdf2fb 100644 --- a/lib/Matrix/Client.pm6 +++ b/lib/Matrix/Client.pm6 @@ -43,6 +43,8 @@ method login(Str $username, Str $pass) returns Bool { $!access-token = $data; $!user-id = $data; $!device-id = $data; + + True } method save-auth-data() { -- cgit v1.2.3-70-g09d2