diff options
author | Matias Linares <matiaslina@openmailbox.org> | 2018-06-03 12:37:30 -0300 |
---|---|---|
committer | Matias Linares <matiaslina@openmailbox.org> | 2018-06-03 12:37:30 -0300 |
commit | 0ea9f135fdd0d1d2337859aac5656836e0b45fdc (patch) | |
tree | f328c009d298107169e728bb7dc2e8c2380a4ec3 | |
parent | 0b3314ab4af32ac3e2169cbcbc24ae1a450a6f45 (diff) | |
download | perl6-matrix-client-0ea9f135fdd0d1d2337859aac5656836e0b45fdc.tar.gz |
Return True on success login
-rw-r--r-- | lib/Matrix/Client.pm6 | 2 |
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() { |