this behaves weird? need to figure out later

This commit is contained in:
Bruno Windels 2019-02-27 23:22:47 +01:00
parent 80eac6e48d
commit 8462a0ac6b

View File

@ -23,7 +23,7 @@ export default class Room extends EventEmitter {
emitSync({summaryChanged, newTimelineEntries}) { emitSync({summaryChanged, newTimelineEntries}) {
if (summaryChanged) { if (summaryChanged) {
this.emit("change"); this.emit("change");
(this._emitCollectionChange)(this); this._emitCollectionChange(this);
} }
if (this._timeline) { if (this._timeline) {
this._timeline.appendLiveEntries(newTimelineEntries); this._timeline.appendLiveEntries(newTimelineEntries);