diff --git a/spec/browserify/sync-browserify.spec.js b/spec/browserify/sync-browserify.spec.js index f3d396b26..da0c510ac 100644 --- a/spec/browserify/sync-browserify.spec.js +++ b/spec/browserify/sync-browserify.spec.js @@ -99,5 +99,5 @@ describe("Browserify Test", function() { client.once("sync.unexpectedError", reject); }), ]); - }, 20000); + }, 20000); // additional timeout as this test can take quite a while }); diff --git a/src/models/room.js b/src/models/room.js index 92e48629d..2ccea66d8 100644 --- a/src/models/room.js +++ b/src/models/room.js @@ -374,7 +374,7 @@ Room.prototype.hasPendingEvent = function(eventId) { }; /** - * Get a specific event from the pending event list, if configured, undefined otherwise. + * Get a specific event from the pending event list, if configured, null otherwise. * * @param {string} eventId The event ID to check for. * @return {MatrixEvent}