From 41f5cdabaf7c5097d8537046344229932faaad6d Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Tue, 6 Sep 2016 15:12:48 +0100 Subject: [PATCH] Remove TODOs which are now done --- src/github.com/matrix-org/go-neb/matrix/matrix.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/github.com/matrix-org/go-neb/matrix/matrix.go b/src/github.com/matrix-org/go-neb/matrix/matrix.go index 07175c0..b52a79a 100644 --- a/src/github.com/matrix-org/go-neb/matrix/matrix.go +++ b/src/github.com/matrix-org/go-neb/matrix/matrix.go @@ -206,7 +206,7 @@ func (cli *Client) Sync() { "user_id": cli.UserID, }) - // TODO: Store the filter ID and sync token in the database + // TODO: Store the filter ID in the database filterID, err := cli.createFilter() if err != nil { logger.WithError(err).Fatal("Failed to create filter") @@ -247,8 +247,6 @@ func (cli *Client) Sync() { // Check that the syncing state hasn't changed // Either because we've stopped syncing or another sync has been started. // We discard the response from our sync. - // TODO: Store the next_batch token so that the next sync can resume - // from where this sync left off. if cli.getSyncingID() != syncingID { logger.Print("Stopping sync") return