1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-09-01 21:21:58 +03:00

Finish timline integration tests.

This commit is contained in:
Kegan Dougal
2015-06-26 13:53:01 +01:00
parent 3c4bda8580
commit fd0eb0c674
2 changed files with 121 additions and 12 deletions

View File

@@ -107,7 +107,7 @@ Room.prototype.addEventsToTimeline = function(events, toStartOfTimeline) {
else {
this.timeline.push(events[i]);
}
this.emit("Room.timeline", events[i], this, toStartOfTimeline);
this.emit("Room.timeline", events[i], this, Boolean(toStartOfTimeline));
}
};