From 8462a0ac6bf1ba07d11c1a8382fc599ed774f2c1 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 27 Feb 2019 23:22:47 +0100 Subject: [PATCH] this behaves weird? need to figure out later --- src/matrix/room/room.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/room/room.js b/src/matrix/room/room.js index 80633f58..a581fbcb 100644 --- a/src/matrix/room/room.js +++ b/src/matrix/room/room.js @@ -23,7 +23,7 @@ export default class Room extends EventEmitter { emitSync({summaryChanged, newTimelineEntries}) { if (summaryChanged) { this.emit("change"); - (this._emitCollectionChange)(this); + this._emitCollectionChange(this); } if (this._timeline) { this._timeline.appendLiveEntries(newTimelineEntries);