1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

s/getImplicitRoomName/getDefaultRoomName/ # as kegan doesn't like the word 'implicit'

This commit is contained in:
Matthew Hodgson
2016-01-13 14:02:26 +00:00
parent 0bab00c47c
commit a0df2a70cd

View File

@@ -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) * room had no m.room.name)
* @param {string} userId The userId from whose perspective we want * @param {string} userId The userId from whose perspective we want
* to calculate the implicit name * to calculate the default name
* @return {string} The implicit room name * @return {string} The default room name
*/ */
Room.prototype.getImplicitRoomName = function(userId) { Room.prototype.getDefaultRoomName = function(userId) {
return calculateRoomName(this, userId, true); return calculateRoomName(this, userId, true);
}; };