summaryrefslogtreecommitdiff
path: root/lib/Matrix/Response.pm6
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@gmail.com>2019-07-11 19:53:05 -0300
committerMatias Linares <matiaslina@gmail.com>2019-07-11 19:53:05 -0300
commitec4393cb81952fffa2273e313818a57c9611c5a2 (patch)
tree2bcccb3ad4f677e5ef2e0222784338450690976f /lib/Matrix/Response.pm6
parentf1cae9e3a68fc5aecbe5656bc812a758d8d62fee (diff)
downloadperl6-matrix-client-0.5.1.tar.gz
Use JSON::Fastv0.5.1
Diffstat (limited to 'lib/Matrix/Response.pm6')
-rw-r--r--lib/Matrix/Response.pm64
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Matrix/Response.pm6 b/lib/Matrix/Response.pm6
index 14e2b21..268be84 100644
--- a/lib/Matrix/Response.pm6
+++ b/lib/Matrix/Response.pm6
@@ -1,4 +1,4 @@
-use JSON::Tiny;
+use JSON::Fast;
unit module Matrix::Response;
@@ -69,7 +69,7 @@ class Matrix::Response::Sync {
my Matrix::Response::Event @presence;
my Matrix::Response::RoomInfo @joined-rooms;
my Matrix::Response::InviteInfo @invited-rooms;
-
+
for $json<presence><events>.List -> $ev {
@presence.push(Matrix::Response::Event.new(|$ev));
}