You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-04 05:02:41 +03:00
Linting
This commit is contained in:
@@ -218,7 +218,7 @@ Room.prototype.addEventsToTimeline = function(events, toStartOfTimeline) {
|
||||
if (!toStartOfTimeline && events[i]._txnId) {
|
||||
this._txnToEvent[events[i]._txnId] = events[i];
|
||||
}
|
||||
else if(!toStartOfTimeline && events[i].getUnsigned().transaction_id) {
|
||||
else if (!toStartOfTimeline && events[i].getUnsigned().transaction_id) {
|
||||
var existingEvent = this._txnToEvent[events[i].getUnsigned().transaction_id];
|
||||
if (existingEvent) {
|
||||
// no longer pending
|
||||
|
||||
Reference in New Issue
Block a user