Hero
Hero =
object
Defined in: src/models/room-summary.ts:23
A stripped m.room.member event which contains the key renderable fields from the event,
sent only in simplified sliding sync (not /v3/sync).
This is very similar to MSC4186Hero from sliding-sync.ts but an internal format with
camelCase rather than underscores.
Properties
Section titled “Properties”avatarUrl?
Section titled “avatarUrl?”
optionalavatarUrl?:string
Defined in: src/models/room-summary.ts:26
displayName?
Section titled “displayName?”
optionaldisplayName?:string
Defined in: src/models/room-summary.ts:25
fromMSC4186
Section titled “fromMSC4186”fromMSC4186:
boolean
Defined in: src/models/room-summary.ts:32
If true, the hero is from an MSC4186 summary, in which case displayName and avatarUrl will
have been set by the server if available. If false, the Hero has been constructed from a /v3/sync response,
so these fields will always be undefined.
userId
Section titled “userId”userId:
string
Defined in: src/models/room-summary.ts:24