You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-08 19:08:34 +03:00
Add docs to event
to say that sender won't always be set
This commit is contained in:
@@ -61,7 +61,9 @@ module.exports.EventStatus = {
|
|||||||
* from changes to event JSON between Matrix versions.
|
* from changes to event JSON between Matrix versions.
|
||||||
*
|
*
|
||||||
* @prop {RoomMember} sender The room member who sent this event, or null e.g.
|
* @prop {RoomMember} sender The room member who sent this event, or null e.g.
|
||||||
* this is a presence event.
|
* this is a presence event. This is only guarenteed to be set for events that
|
||||||
|
* appear in a timeline, ie. do not guarentee that it will be set on state
|
||||||
|
* events.
|
||||||
* @prop {RoomMember} target The room member who is the target of this event, e.g.
|
* @prop {RoomMember} target The room member who is the target of this event, e.g.
|
||||||
* the invitee, the person being banned, etc.
|
* the invitee, the person being banned, etc.
|
||||||
* @prop {EventStatus} status The sending status of the event.
|
* @prop {EventStatus} status The sending status of the event.
|
||||||
|
|||||||
Reference in New Issue
Block a user