Open Simon-Laux opened 1 year ago
I mean I created a new room that only has one extra member besides myself is considered to be a dm chat, even though it is a room where others can join. there are some issues in the matrix js sdk repo about that, it doesn't seem like an easy problem.
I think a room is considered DM if a special m.direct
attribute is set. For now, I am considering a room with at most 2 members a DM.
A room is a DM room if it is in mClient.getAccountData("m.direct")
I think you meant a chat with only one extra member which is supposed to be a threesome DM, is considered as non-DM. right?