Giter Site home page Giter Site logo

Comments (3)

matrixbot avatar matrixbot commented on June 27, 2024

Jira watchers: @kegsay @leonerd @ara4n

from matrix-spec.

matrixbot avatar matrixbot commented on June 27, 2024

Confused howso? Do you have some specific examples of confusion and a suggestion of what might be better?

-- @leonerd

from matrix-spec.

matrixbot avatar matrixbot commented on June 27, 2024

From a mail discussion with Joao:

I believe msg type and events are sharing the same “m.” naming convention (e.g. m.text and m.room.message) which could be misleading. Btw, a “msgtype” and an “event type” are the same thing?

Also a good point. msgtype and event type are two distinct things: messages are a type of event and then there are many different types of message (text message, image, etc). Also note that the message type comes within the event content and so will be encrypted when end to end encryption comes along, whereas the event type will be visible to the home server.

The original reason for having m.text was because it's so common that having m.msgtype.text or something would be redundant just to avoid confusion between namespaces (and imply a shared namespace).

I'm not sure what the correct solution here should be, but I agree with Joao that it's confusing at first.

-- @ara4n

from matrix-spec.

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.