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); };