dendrite/src/github.com/matrix-org/dendrite
Erik Johnston f42f44391f
Fix /sync when we have no events (#341)
* Fix /sync when we have no events

We used a since token of 0 to mean that no token was given. However, naffka
streams start at 0. This causes clients to get stuck spinning forever until an
event is sent.

This changes it so that we pass around pointers instead, with nil meaning a
since token wasn't given.

* Comment

* Fix unit tests

* Comments

* Fix typo
2017-11-22 09:51:12 +00:00
..
clientapi Fix create filter API (#342) 2017-11-18 15:06:51 +00:00
cmd Implement room_alias federation end point (#338) 2017-11-20 14:33:49 +00:00
common Use a Postgres database rather than Memory for Naffka (#337) 2017-11-16 17:35:28 +00:00
federationapi/routing Implement room_alias federation end point (#338) 2017-11-20 14:33:49 +00:00
federationsender Add gofmt linter (#339) 2017-11-16 10:12:02 +00:00
mediaapi Add gofmt linter (#339) 2017-11-16 10:12:02 +00:00
publicroomsapi Add gofmt linter (#339) 2017-11-16 10:12:02 +00:00
roomserver Fix linting errors in go1.9.1 (#336) 2017-11-15 11:13:09 +00:00
syncapi Fix /sync when we have no events (#341) 2017-11-22 09:51:12 +00:00