Fix misunderstanding of functional members (#11918)
* fix misunderstanding of functional members Signed-off-by: Timo K <toger5@hotmail.de> * unused import Signed-off-by: Timo K <toger5@hotmail.de> --------- Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
parent
52e3e0de1f
commit
b5178e3733
3 changed files with 10 additions and 25 deletions
|
@ -19,7 +19,9 @@ import { Room, RoomMember } from "matrix-js-sdk/src/matrix";
|
|||
import { getFunctionalMembers } from "./getFunctionalMembers";
|
||||
|
||||
/**
|
||||
* Returns all room members that are non-functional (bots etc.).
|
||||
* Returns all room members that are non-functional (all actual room members).
|
||||
*
|
||||
* A functional user is a user that is not a real user, but a bot, assistant, etc.
|
||||
*/
|
||||
export const getJoinedNonFunctionalMembers = (room: Room): RoomMember[] => {
|
||||
const functionalMembers = getFunctionalMembers(room);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue