Skip to content

Commit 4e5cc16

Browse files
author
github-actions
committed
Bump SDK version to 0.2.71 (matrix-rust-sdk to fda374ee81dad3b803cc72d2fb79bd13f261bc5e)
1 parent dbb92ef commit 4e5cc16

File tree

2 files changed

+35
-3
lines changed

2 files changed

+35
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
object BuildVersionsSDK {
22
const val majorVersion = 0
33
const val minorVersion = 2
4-
const val patchVersion = 70
4+
const val patchVersion = 71
55
}

sdk/sdk-android/src/main/kotlin/org/matrix/rustcomponents/sdk/matrix_sdk_ffi.kt

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26149,7 +26149,27 @@ data class UnableToDecryptInfo (
2614926149
* What we know about what caused this UTD. E.g. was this event sent when
2615026150
* we were not a member of this room?
2615126151
*/
26152-
var `cause`: UtdCause
26152+
var `cause`: UtdCause,
26153+
/**
26154+
* The difference between the event creation time (`origin_server_ts`) and
26155+
* the time our device was created. If negative, this event was sent
26156+
* *before* our device was created.
26157+
*/
26158+
var `eventLocalAgeMillis`: kotlin.Long,
26159+
/**
26160+
* Whether the user had verified their own identity at the point they
26161+
* received the UTD event.
26162+
*/
26163+
var `userTrustsOwnIdentity`: kotlin.Boolean,
26164+
/**
26165+
* The homeserver of the user that sent the undecryptable event.
26166+
*/
26167+
var `senderHomeserver`: kotlin.String,
26168+
/**
26169+
* Our local user's own homeserver, or `None` if the client is not logged
26170+
* in.
26171+
*/
26172+
var `ownHomeserver`: kotlin.String?
2615326173
) {
2615426174

2615526175
companion object
@@ -26161,19 +26181,31 @@ public object FfiConverterTypeUnableToDecryptInfo: FfiConverterRustBuffer<Unable
2616126181
FfiConverterString.read(buf),
2616226182
FfiConverterOptionalULong.read(buf),
2616326183
FfiConverterTypeUtdCause.read(buf),
26184+
FfiConverterLong.read(buf),
26185+
FfiConverterBoolean.read(buf),
26186+
FfiConverterString.read(buf),
26187+
FfiConverterOptionalString.read(buf),
2616426188
)
2616526189
}
2616626190

2616726191
override fun allocationSize(value: UnableToDecryptInfo) = (
2616826192
FfiConverterString.allocationSize(value.`eventId`) +
2616926193
FfiConverterOptionalULong.allocationSize(value.`timeToDecryptMs`) +
26170-
FfiConverterTypeUtdCause.allocationSize(value.`cause`)
26194+
FfiConverterTypeUtdCause.allocationSize(value.`cause`) +
26195+
FfiConverterLong.allocationSize(value.`eventLocalAgeMillis`) +
26196+
FfiConverterBoolean.allocationSize(value.`userTrustsOwnIdentity`) +
26197+
FfiConverterString.allocationSize(value.`senderHomeserver`) +
26198+
FfiConverterOptionalString.allocationSize(value.`ownHomeserver`)
2617126199
)
2617226200

2617326201
override fun write(value: UnableToDecryptInfo, buf: ByteBuffer) {
2617426202
FfiConverterString.write(value.`eventId`, buf)
2617526203
FfiConverterOptionalULong.write(value.`timeToDecryptMs`, buf)
2617626204
FfiConverterTypeUtdCause.write(value.`cause`, buf)
26205+
FfiConverterLong.write(value.`eventLocalAgeMillis`, buf)
26206+
FfiConverterBoolean.write(value.`userTrustsOwnIdentity`, buf)
26207+
FfiConverterString.write(value.`senderHomeserver`, buf)
26208+
FfiConverterOptionalString.write(value.`ownHomeserver`, buf)
2617726209
}
2617826210
}
2617926211

0 commit comments

Comments
 (0)