You've already forked matrix-js-sdk
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:
@@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user