Skip to content

Commit

Permalink
Bump SDK version to 0.2.71 (matrix-rust-sdk to fda374ee81dad3b803cc72…
Browse files Browse the repository at this point in the history
…d2fb79bd13f261bc5e)
  • Loading branch information
github-actions committed Dec 11, 2024
1 parent dbb92ef commit 4e5cc16
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 3 deletions.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/BuildVersionsSDK.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
object BuildVersionsSDK {
const val majorVersion = 0
const val minorVersion = 2
const val patchVersion = 70
const val patchVersion = 71
}
Original file line number Diff line number Diff line change
Expand Up @@ -26149,7 +26149,27 @@ data class UnableToDecryptInfo (
* What we know about what caused this UTD. E.g. was this event sent when
* we were not a member of this room?
*/
var `cause`: UtdCause
var `cause`: UtdCause,
/**
* The difference between the event creation time (`origin_server_ts`) and
* the time our device was created. If negative, this event was sent
* *before* our device was created.
*/
var `eventLocalAgeMillis`: kotlin.Long,
/**
* Whether the user had verified their own identity at the point they
* received the UTD event.
*/
var `userTrustsOwnIdentity`: kotlin.Boolean,
/**
* The homeserver of the user that sent the undecryptable event.
*/
var `senderHomeserver`: kotlin.String,
/**
* Our local user's own homeserver, or `None` if the client is not logged
* in.
*/
var `ownHomeserver`: kotlin.String?
) {

companion object
Expand All @@ -26161,19 +26181,31 @@ public object FfiConverterTypeUnableToDecryptInfo: FfiConverterRustBuffer<Unable
FfiConverterString.read(buf),
FfiConverterOptionalULong.read(buf),
FfiConverterTypeUtdCause.read(buf),
FfiConverterLong.read(buf),
FfiConverterBoolean.read(buf),
FfiConverterString.read(buf),
FfiConverterOptionalString.read(buf),
)
}

override fun allocationSize(value: UnableToDecryptInfo) = (
FfiConverterString.allocationSize(value.`eventId`) +
FfiConverterOptionalULong.allocationSize(value.`timeToDecryptMs`) +
FfiConverterTypeUtdCause.allocationSize(value.`cause`)
FfiConverterTypeUtdCause.allocationSize(value.`cause`) +
FfiConverterLong.allocationSize(value.`eventLocalAgeMillis`) +
FfiConverterBoolean.allocationSize(value.`userTrustsOwnIdentity`) +
FfiConverterString.allocationSize(value.`senderHomeserver`) +
FfiConverterOptionalString.allocationSize(value.`ownHomeserver`)
)

override fun write(value: UnableToDecryptInfo, buf: ByteBuffer) {
FfiConverterString.write(value.`eventId`, buf)
FfiConverterOptionalULong.write(value.`timeToDecryptMs`, buf)
FfiConverterTypeUtdCause.write(value.`cause`, buf)
FfiConverterLong.write(value.`eventLocalAgeMillis`, buf)
FfiConverterBoolean.write(value.`userTrustsOwnIdentity`, buf)
FfiConverterString.write(value.`senderHomeserver`, buf)
FfiConverterOptionalString.write(value.`ownHomeserver`, buf)
}
}

Expand Down

0 comments on commit 4e5cc16

Please sign in to comment.