Top |
This event is sent by a homeserver directly to inform of changes to the list of aliases it knows about for that room.
The state_key for this event is set to the homeserver which owns the room alias.
The entire set of known aliases for the room is the union of all the m.room.aliases events, one for each homeserver. Clients should check the validity of any room alias given in this list before presenting it to the user as trusted fact. The lists given by this event should be considered simply as advice on which aliases might exist, for which the client can perform the lookup to confirm whether it receives the correct room ID.
#define MATRIX_EVENT_TYPE_ROOM_ALIASES (matrix_event_room_aliases_get_type ())
The type for MatrixEventRoomAliases.
gchar ** matrix_event_room_aliases_get_aliases (MatrixEventRoomAliases *self
,int *result_length1
);
Get and return the current value of the "aliases" property.
A list of room aliases.
void matrix_event_room_aliases_set_aliases (MatrixEventRoomAliases *self
,gchar **value
,int value_length1
);
Set the value of the "aliases" property to value
.
A list of room aliases.
self |
the MatrixEventRoomAliases instance to modify |
|
value |
the new value of the "aliases" property |
struct MatrixEventRoomAliases { MatrixEventState parent_instance; MatrixEventRoomAliasesPrivate * priv; };
Class to hold a m.room.aliases event.
This event is sent by a homeserver directly to inform of changes to the list of aliases it knows about for that room.
The state_key for this event is set to the homeserver which owns the room alias.
The entire set of known aliases for the room is the union of all the m.room.aliases events, one for each homeserver. Clients should check the validity of any room alias given in this list before presenting it to the user as trusted fact. The lists given by this event should be considered simply as advice on which aliases might exist, for which the client can perform the lookup to confirm whether it receives the correct room ID.
struct MatrixEventRoomAliasesClass { MatrixEventStateClass parent_class; };
The class structure for MATRIX_EVENT_TYPE_ROOM_ALIASES
. All the fields in this structure are private and should never be accessed directly.