From 8ec3b88c5dac85f6696ba13a7fe4e2dec2df452e Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 6 Oct 2020 22:55:34 +0100 Subject: [PATCH] Update comments Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- spec/browserify/sync-browserify.spec.js | 2 +- src/models/room.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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}