chat with only one extra member is mistakenly taken as DM chat
Simon-Laux opened this issue · 4 comments
Simon-Laux commented
chat with only one extra member is mistakenly taken as DM chat
farooqkz commented
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?
Simon-Laux commented
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.
farooqkz commented
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.
farooqkz commented
A room is a DM room if it is in mClient.getAccountData("m.direct")