From a0df2a70cd234d76bc58dcefd4f135f8c619550f Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Wed, 13 Jan 2016 14:02:26 +0000 Subject: [PATCH] s/getImplicitRoomName/getDefaultRoomName/ # as kegan doesn't like the word 'implicit' --- lib/models/room.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/models/room.js b/lib/models/room.js index 1f120fe1c..a5a96b43e 100644 --- a/lib/models/room.js +++ b/lib/models/room.js @@ -190,13 +190,13 @@ Room.prototype.getAvatarUrl = function(baseUrl, width, height, resizeMethod, }; /** - * Get the implicit room name (i.e. what a given user would see if the + * Get the default room name (i.e. what a given user would see if the * room had no m.room.name) * @param {string} userId The userId from whose perspective we want - * to calculate the implicit name - * @return {string} The implicit room name + * to calculate the default name + * @return {string} The default room name */ - Room.prototype.getImplicitRoomName = function(userId) { + Room.prototype.getDefaultRoomName = function(userId) { return calculateRoomName(this, userId, true); };