Fix compilation issue.

This commit is contained in:
Benoit Marty 2024-12-12 00:43:37 +01:00
parent 7cfee3ed64
commit f2165b5df2

View file

@ -14,10 +14,18 @@ internal fun aRustUnableToDecryptInfo(
eventId: String, eventId: String,
timeToDecryptMs: ULong?, timeToDecryptMs: ULong?,
cause: UtdCause, cause: UtdCause,
eventLocalAgeMillis: Long = 0L,
userTrustsOwnIdentity: Boolean = false,
senderHomeserver: String = "",
ownHomeserver: String = "",
): UnableToDecryptInfo { ): UnableToDecryptInfo {
return UnableToDecryptInfo( return UnableToDecryptInfo(
eventId = eventId, eventId = eventId,
timeToDecryptMs = timeToDecryptMs, timeToDecryptMs = timeToDecryptMs,
cause = cause, cause = cause,
eventLocalAgeMillis = eventLocalAgeMillis,
userTrustsOwnIdentity = userTrustsOwnIdentity,
senderHomeserver = senderHomeserver,
ownHomeserver = ownHomeserver,
) )
} }