-
-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spec refers to EDUs and account data as "events" #897
Comments
also: the thing that is supposed to make an event an event is that they have a |
Went to the issues today to report the same thing. I actually don't mind What really doesn't make sense to me is global & room-specific account data being referred to as events, since it's also mutable. |
I find this infuriating (though that could be PEBCAK). In a personal notes document I have resorted to the following formalism/rationalisation, which may be of interest. Assume a standard definition of JSON object and related types (lists, strings, integers, booleans, null). When we speak of “JSON objects”, we do so in the abstract without a particular representation in mind. For example, Abstract eventsThe Matrix spec speaks of “events” without ever really defining them. Here is our attempt to clarify the situation. Definition. An abstract event is triple of three pieces of data:
An event’s type determines the semantics and structure of its content and metadata. The spec speaks of at least three kinds of abstract events:
|
Re. EDUs, what events count as that actually? Some or all of these should be:
Also, room account data events and ephemeral room events have the |
EDUs are exactly those you list: presence, receipts, typing, to-device. They are listed in https://spec.matrix.org/v1.4/server-server-api, though not in a way that makes them very easy to find. (Generally I am not a fan of the whole EDU concept: it gives the false impression that there is something in common between those four mechanisms other than the fact they all appear in the EDIT December 2024: There is a fifth EDU type, |
related: #1241 |
fwiw, crypto appears to do this in places like |
The C-S spec refers to things like
m.receipt
andm.typing
, and various bits of account data as "events". I think this is confusing - it gives the impression that such objects can appear in a room timeline, which is not the case.The text was updated successfully, but these errors were encountered: