You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as indicated in matrix-org/matrix-react-sdk#1453 and element-hq/element-web#5176, a user can send an event that has a type that matches a state event (e.g. m.room.topic) as a timeline event. Obviously, this won't change the room's state, but since PUT /transactions/* doesn't indicate whether the event was sent as a state event or a timeline event, it could result in a confused AS if this happens, as the AS may think that the state has changed when it actually hasn't.
The text was updated successfully, but these errors were encountered:
It should be possible to distinguish a state event by the presence of a state_key field?
Yeah, I guess that works. Maybe that could be documented somewhere.
uhoreg
changed the title
In AS API, PUT /transactions/* endpoint doesn't specify if the event was sent as a state event
In AS API, PUT /transactions/* endpoint, document how to distinguish state event from timeline event
Oct 14, 2017
as indicated in matrix-org/matrix-react-sdk#1453 and element-hq/element-web#5176, a user can send an event that has a type that matches a state event (e.g.
m.room.topic
) as a timeline event. Obviously, this won't change the room's state, but sincePUT /transactions/*
doesn't indicate whether the event was sent as a state event or a timeline event, it could result in a confused AS if this happens, as the AS may think that the state has changed when it actually hasn't.The text was updated successfully, but these errors were encountered: