@@ -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