Skip to main content

Module account_data

Module account_data 

Source

Structsยง

ExtractGlobalEventContent ๐Ÿ”’
ExtractRoomEventContent ๐Ÿ”’

Functionsยง

delete_global_account_data_route ๐Ÿ”’
DELETE /_matrix/client/unstable/org.matrix.msc3391/user/{userId}/account_data/{type}
delete_room_account_data_route ๐Ÿ”’
DELETE /_matrix/client/unstable/org.matrix.msc3391/user/{userId}/rooms/{roomId}/account_data/{type}
get_global_account_data_route ๐Ÿ”’
GET /_matrix/client/r0/user/{userId}/account_data/{type}
get_room_account_data_route ๐Ÿ”’
GET /_matrix/client/r0/user/{userId}/rooms/{roomId}/account_data/{type}
is_empty_account_data_event ๐Ÿ”’
Equivalent test against a stored account-data event ({type, content}) rather than the bare content payload. Used by sync filters.
is_empty_content ๐Ÿ”’
MSC3391: tombstoned account data carries content: {}. Sync delta surfaces the empty event so clients can apply the deletion; everywhere else (GET, initial sync) treats it as not-present.
is_empty_object_json ๐Ÿ”’
set_account_data ๐Ÿ”’
set_global_account_data_route ๐Ÿ”’
PUT /_matrix/client/r0/user/{userId}/account_data/{type}
set_room_account_data_route ๐Ÿ”’
PUT /_matrix/client/r0/user/{userId}/rooms/{roomId}/account_data/{type}