You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-07-05 00:22:28 +03:00
update comments
This commit is contained in:
@ -222,9 +222,8 @@ export class RoomState extends TypedEventEmitter<EmittedEvents, EventHandlerMap>
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the number of joined non-functional members in this room
|
* Returns the number of joined functional members in this room
|
||||||
* This method caches the result.
|
* @returns The number of functional members in this room whose membership is 'join'
|
||||||
* @returns The number of non-functional members in this room whose membership is 'join'
|
|
||||||
*/
|
*/
|
||||||
public getJoinedFunctionalMemberCount(): number {
|
public getJoinedFunctionalMemberCount(): number {
|
||||||
return this.getFunctionalMembers().reduce((count, m) => {
|
return this.getFunctionalMembers().reduce((count, m) => {
|
||||||
@ -249,8 +248,8 @@ export class RoomState extends TypedEventEmitter<EmittedEvents, EventHandlerMap>
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the number of invited members in this room
|
* Returns the number of invited functional members in this room
|
||||||
* @returns The number of members in this room whose membership is 'invite'
|
* @returns The number of functional members in this room whose membership is 'invite'
|
||||||
*/
|
*/
|
||||||
public getInvitedFunctionalMemberCount(): number {
|
public getInvitedFunctionalMemberCount(): number {
|
||||||
return this.getFunctionalMembers().reduce((count, m) => {
|
return this.getFunctionalMembers().reduce((count, m) => {
|
||||||
|
Reference in New Issue
Block a user