@@ -2406,8 +2406,6 @@ internal open class UniffiVTableCallbackInterfaceWidgetCapabilitiesProvider(
24062406
24072407
24082408
2409-
2410-
24112409
24122410
24132411
@@ -3545,8 +3543,6 @@ internal interface UniffiLib : Library {
35453543 ): Byte
35463544 fun uniffi_matrix_sdk_ffi_fn_func_log_event(`file`: RustBuffer.ByValue,`line`: RustBuffer.ByValue,`level`: RustBuffer.ByValue,`target`: RustBuffer.ByValue,`message`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
35473545 ): Unit
3548- fun uniffi_matrix_sdk_ffi_fn_func_make_element_well_known(`string`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
3549- ): RustBuffer.ByValue
35503546 fun uniffi_matrix_sdk_ffi_fn_func_make_widget_driver(`settings`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
35513547 ): RustBuffer.ByValue
35523548 fun uniffi_matrix_sdk_ffi_fn_func_matrix_to_room_alias_permalink(`roomAlias`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
@@ -3705,8 +3701,6 @@ internal interface UniffiLib : Library {
37053701 ): Short
37063702 fun uniffi_matrix_sdk_ffi_checksum_func_log_event(
37073703 ): Short
3708- fun uniffi_matrix_sdk_ffi_checksum_func_make_element_well_known(
3709- ): Short
37103704 fun uniffi_matrix_sdk_ffi_checksum_func_make_widget_driver(
37113705 ): Short
37123706 fun uniffi_matrix_sdk_ffi_checksum_func_matrix_to_room_alias_permalink(
@@ -4684,10 +4678,7 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
46844678 if (lib.uniffi_matrix_sdk_ffi_checksum_func_is_room_alias_format_valid() != 54845.toShort()) {
46854679 throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
46864680 }
4687- if (lib.uniffi_matrix_sdk_ffi_checksum_func_log_event() != 62286.toShort()) {
4688- throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
4689- }
4690- if (lib.uniffi_matrix_sdk_ffi_checksum_func_make_element_well_known() != 21379.toShort()) {
4681+ if (lib.uniffi_matrix_sdk_ffi_checksum_func_log_event() != 55646.toShort()) {
46914682 throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
46924683 }
46934684 if (lib.uniffi_matrix_sdk_ffi_checksum_func_make_widget_driver() != 34206.toShort()) {
@@ -27052,66 +27043,6 @@ public object FfiConverterTypeCreateRoomParameters: FfiConverterRustBuffer<Creat
2705227043
2705327044
2705427045
27055- /**
27056- * Well-known settings specific to ElementCall
27057- */
27058- data class ElementCallWellKnown (
27059- var `widgetUrl`: kotlin.String
27060- ) {
27061-
27062- companion object
27063- }
27064-
27065- public object FfiConverterTypeElementCallWellKnown: FfiConverterRustBuffer<ElementCallWellKnown> {
27066- override fun read(buf: ByteBuffer): ElementCallWellKnown {
27067- return ElementCallWellKnown(
27068- FfiConverterString.read(buf),
27069- )
27070- }
27071-
27072- override fun allocationSize(value: ElementCallWellKnown) = (
27073- FfiConverterString.allocationSize(value.`widgetUrl`)
27074- )
27075-
27076- override fun write(value: ElementCallWellKnown, buf: ByteBuffer) {
27077- FfiConverterString.write(value.`widgetUrl`, buf)
27078- }
27079- }
27080-
27081-
27082-
27083- /**
27084- * Element specific well-known settings
27085- */
27086- data class ElementWellKnown (
27087- var `call`: ElementCallWellKnown?,
27088- var `registrationHelperUrl`: kotlin.String?
27089- ) {
27090-
27091- companion object
27092- }
27093-
27094- public object FfiConverterTypeElementWellKnown: FfiConverterRustBuffer<ElementWellKnown> {
27095- override fun read(buf: ByteBuffer): ElementWellKnown {
27096- return ElementWellKnown(
27097- FfiConverterOptionalTypeElementCallWellKnown.read(buf),
27098- FfiConverterOptionalString.read(buf),
27099- )
27100- }
27101-
27102- override fun allocationSize(value: ElementWellKnown) = (
27103- FfiConverterOptionalTypeElementCallWellKnown.allocationSize(value.`call`) +
27104- FfiConverterOptionalString.allocationSize(value.`registrationHelperUrl`)
27105- )
27106-
27107- override fun write(value: ElementWellKnown, buf: ByteBuffer) {
27108- FfiConverterOptionalTypeElementCallWellKnown.write(value.`call`, buf)
27109- FfiConverterOptionalString.write(value.`registrationHelperUrl`, buf)
27110- }
27111- }
27112-
27113-
27114-
2711527046data class EmoteMessageContent (
2711627047 var `body`: kotlin.String,
2711727048 var `formatted`: FormattedBody?
@@ -28400,6 +28331,7 @@ data class NotificationRoomInfo (
2840028331 var `displayName`: kotlin.String,
2840128332 var `avatarUrl`: kotlin.String?,
2840228333 var `canonicalAlias`: kotlin.String?,
28334+ var `topic`: kotlin.String?,
2840328335 var `joinRule`: JoinRule?,
2840428336 var `joinedMembersCount`: kotlin.ULong,
2840528337 var `isEncrypted`: kotlin.Boolean?,
@@ -28415,6 +28347,7 @@ public object FfiConverterTypeNotificationRoomInfo: FfiConverterRustBuffer<Notif
2841528347 FfiConverterString.read(buf),
2841628348 FfiConverterOptionalString.read(buf),
2841728349 FfiConverterOptionalString.read(buf),
28350+ FfiConverterOptionalString.read(buf),
2841828351 FfiConverterOptionalTypeJoinRule.read(buf),
2841928352 FfiConverterULong.read(buf),
2842028353 FfiConverterOptionalBoolean.read(buf),
@@ -28426,6 +28359,7 @@ public object FfiConverterTypeNotificationRoomInfo: FfiConverterRustBuffer<Notif
2842628359 FfiConverterString.allocationSize(value.`displayName`) +
2842728360 FfiConverterOptionalString.allocationSize(value.`avatarUrl`) +
2842828361 FfiConverterOptionalString.allocationSize(value.`canonicalAlias`) +
28362+ FfiConverterOptionalString.allocationSize(value.`topic`) +
2842928363 FfiConverterOptionalTypeJoinRule.allocationSize(value.`joinRule`) +
2843028364 FfiConverterULong.allocationSize(value.`joinedMembersCount`) +
2843128365 FfiConverterOptionalBoolean.allocationSize(value.`isEncrypted`) +
@@ -28436,6 +28370,7 @@ public object FfiConverterTypeNotificationRoomInfo: FfiConverterRustBuffer<Notif
2843628370 FfiConverterString.write(value.`displayName`, buf)
2843728371 FfiConverterOptionalString.write(value.`avatarUrl`, buf)
2843828372 FfiConverterOptionalString.write(value.`canonicalAlias`, buf)
28373+ FfiConverterOptionalString.write(value.`topic`, buf)
2843928374 FfiConverterOptionalTypeJoinRule.write(value.`joinRule`, buf)
2844028375 FfiConverterULong.write(value.`joinedMembersCount`, buf)
2844128376 FfiConverterOptionalBoolean.write(value.`isEncrypted`, buf)
@@ -45244,35 +45179,6 @@ public object FfiConverterOptionalTypeComposerDraft: FfiConverterRustBuffer<Comp
4524445179
4524545180
4524645181
45247- public object FfiConverterOptionalTypeElementCallWellKnown: FfiConverterRustBuffer<ElementCallWellKnown?> {
45248- override fun read(buf: ByteBuffer): ElementCallWellKnown? {
45249- if (buf.get().toInt() == 0) {
45250- return null
45251- }
45252- return FfiConverterTypeElementCallWellKnown.read(buf)
45253- }
45254-
45255- override fun allocationSize(value: ElementCallWellKnown?): ULong {
45256- if (value == null) {
45257- return 1UL
45258- } else {
45259- return 1UL + FfiConverterTypeElementCallWellKnown.allocationSize(value)
45260- }
45261- }
45262-
45263- override fun write(value: ElementCallWellKnown?, buf: ByteBuffer) {
45264- if (value == null) {
45265- buf.put(0)
45266- } else {
45267- buf.put(1)
45268- FfiConverterTypeElementCallWellKnown.write(value, buf)
45269- }
45270- }
45271- }
45272-
45273-
45274-
45275-
4527645182public object FfiConverterOptionalTypeEventTimelineItem: FfiConverterRustBuffer<EventTimelineItem?> {
4527745183 override fun read(buf: ByteBuffer): EventTimelineItem? {
4527845184 if (buf.get().toInt() == 0) {
@@ -48195,7 +48101,7 @@ public typealias FfiConverterTypeTimestamp = FfiConverterULong
4819548101 * Log an event.
4819648102 *
4819748103 * The target should be something like a module path, and can be referenced in
48198- * the filter string given to `setup_tracing `. `level` and `target` for a
48104+ * the filter string given to `init_platform `. `level` and `target` for a
4819948105 * callsite are fixed at the first `log_event` call for that callsite and can
4820048106 * not be changed afterwards, i.e. the level and target passed for second and
4820148107 * following `log_event`s with the same callsite will be ignored.
@@ -48213,19 +48119,6 @@ public typealias FfiConverterTypeTimestamp = FfiConverterULong
4821348119
4821448120
4821548121
48216- /**
48217- * Helper function to parse a string into a ElementWellKnown struct
48218- */
48219- @Throws(ClientException::class) fun `makeElementWellKnown`(`string`: kotlin.String): ElementWellKnown {
48220- return FfiConverterTypeElementWellKnown.lift(
48221- uniffiRustCallWithError(ClientException) { _status ->
48222- UniffiLib.INSTANCE.uniffi_matrix_sdk_ffi_fn_func_make_element_well_known(
48223- FfiConverterString.lower(`string`),_status)
48224- }
48225- )
48226- }
48227-
48228-
4822948122 @Throws(ParseException::class) fun `makeWidgetDriver`(`settings`: WidgetSettings): WidgetDriverAndHandle {
4823048123 return FfiConverterTypeWidgetDriverAndHandle.lift(
4823148124 uniffiRustCallWithError(ParseException) { _status ->
0 commit comments