diff options
Diffstat (limited to 'lib/Matrix')
-rw-r--r-- | lib/Matrix/Client.pm6 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Matrix/Client.pm6 b/lib/Matrix/Client.pm6 index 6fdf2fb..5e4914a 100644 --- a/lib/Matrix/Client.pm6 +++ b/lib/Matrix/Client.pm6 @@ -115,8 +115,8 @@ multi method change-avatar(Str:D $mxc-url!) { # Syncronization -multi method sync() { - my $res = $.get("/sync", timeout => 30000); +multi method sync(:$since = "") { + my $res = $.get("/sync", timeout => 30000, since => $since); Matrix::Response::Sync.new($res.content) } |