summaryrefslogtreecommitdiff
path: root/examples/rooms.p6
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@openmailbox.org>2017-04-12 19:22:26 -0300
committerMatias Linares <matiaslina@openmailbox.org>2017-04-12 19:22:26 -0300
commit4658cf8b18ed5a2f1ef86bf156710f12252b296e (patch)
treed5b5465c7162b1a3460ddbb6e72a63290d16ef43 /examples/rooms.p6
parent846f9af582cd2d68331a334e2933d2b3c82ad099 (diff)
downloadperl6-matrix-client-4658cf8b18ed5a2f1ef86bf156710f12252b296e.tar.gz
Update README/examples
Diffstat (limited to 'examples/rooms.p6')
-rw-r--r--examples/rooms.p62
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rooms.p6 b/examples/rooms.p6
index 6af04bc..7a2de98 100644
--- a/examples/rooms.p6
+++ b/examples/rooms.p6
@@ -4,4 +4,4 @@ use Matrix::Client;
my $c = Matrix::Client.new: :home-server<https://matrix.deprecated.org>;
$c.login: @*ARGS[0], @*ARGS[1];
-say $c.rooms;
+say $c.rooms(:sync);