Giter Site home page Giter Site logo

Comments (4)

farooqkz avatar farooqkz commented on June 7, 2024

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?

from chooj.

Simon-Laux avatar Simon-Laux commented on June 7, 2024

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.

from chooj.

farooqkz avatar farooqkz commented on June 7, 2024

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.

from chooj.

farooqkz avatar farooqkz commented on June 7, 2024

A room is a DM room if it is in mClient.getAccountData("m.direct")

from chooj.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.