From 02b3d880a615bea76f11f9f8cf9f5bfd0eb0c8b9 Mon Sep 17 00:00:00 2001 From: Adrian Perez de Castro Date: Mon, 4 Jul 2016 03:18:43 +0300 Subject: [PATCH] Log the identifier of the batch of events being requested --- matrix/client.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/matrix/client.lua b/matrix/client.lua index c105b5c..a899704 100644 --- a/matrix/client.lua +++ b/matrix/client.lua @@ -399,6 +399,7 @@ function Client:_sync(options) options = {} end options.since = self._sync_next_batch + self._log("sync: Requesting with next_batch = %s", options.since) local response = self._api:sync(options) self._sync_next_batch = response.next_batch