mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
this behaves weird? need to figure out later
This commit is contained in:
parent
80eac6e48d
commit
8462a0ac6b
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user