Ensure msgs are sent in right order, fix echo bug

bug: only one local echo message delegate could be seen because all
echo eventId were the same
This commit is contained in:
miruka
2019-07-04 19:49:55 -04:00
parent 13266303ff
commit 55e14e96bc
3 changed files with 12 additions and 4 deletions

View File

@@ -87,7 +87,7 @@ function onTimelineEventReceived(
timelines.set(found[0], item)
} else {
// Multiple clients will emit duplicate events with the same eventId
timelines.upsert({"eventId": event_id}, item, true, 500)
timelines.upsert({"eventId": event_id}, item, true, 500)
}
}