kalium
common
logic
/
com.wire.kalium.logic.data.prekey
/
PreKeyRepository
/
updateMostRecentPreKeyId
update
Most
Recent
Pre
Key
Id
abstract
suspend
fun
updateMostRecentPreKeyId
(
newId
:
Int
)
:
Either
<
StorageFailure
,
Unit
>
Updates the ID of the most recent "rolling" prekey that was generated.
See also
Pre
Key
Repository.
generate
New
Pre
Keys
Pre
Key
Repository.
force
Insert
Most
Recent
Pre
Key
Id