summaryrefslogtreecommitdiff
path: root/lib/Matrix
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@openmailbox.org>2018-06-03 12:37:30 -0300
committerMatias Linares <matiaslina@openmailbox.org>2018-06-03 12:37:30 -0300
commit0ea9f135fdd0d1d2337859aac5656836e0b45fdc (patch)
treef328c009d298107169e728bb7dc2e8c2380a4ec3 /lib/Matrix
parent0b3314ab4af32ac3e2169cbcbc24ae1a450a6f45 (diff)
downloadperl6-matrix-client-0ea9f135fdd0d1d2337859aac5656836e0b45fdc.tar.gz
Return True on success login
Diffstat (limited to 'lib/Matrix')
-rw-r--r--lib/Matrix/Client.pm62
1 files changed, 2 insertions, 0 deletions
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<access_token>;
$!user-id = $data<user_id>;
$!device-id = $data<device_id>;
+
+ True
}
method save-auth-data() {