1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-01 04:43:29 +03:00

Make it all work!

This commit is contained in:
Kegan Dougal
2017-02-10 14:27:56 +00:00
parent cc1daa5a54
commit 0d4833d6e3
2 changed files with 20 additions and 15 deletions

View File

@@ -75,6 +75,7 @@ class SyncAccumulator {
if (!syncResponse.rooms) {
return;
}
console.log("Accumulating ", syncResponse.next_batch, syncResponse);
this.nextBatch = syncResponse.next_batch;
if (syncResponse.rooms.invite) {
Object.keys(syncResponse.rooms.invite).forEach((roomId) => {