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