mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-25 12:27:58 +01:00
Rename function
This commit is contained in:
parent
9785582bd2
commit
251f30fae8
1 changed files with 2 additions and 2 deletions
|
@ -150,10 +150,10 @@ open class GenerateOpenPgpKey(
|
||||||
primaryKey.userId(
|
primaryKey.userId(
|
||||||
userId,
|
userId,
|
||||||
subpacketsCallback =
|
subpacketsCallback =
|
||||||
preferencesCallback.then(adjustPrimaryUserId()).then(subpacketsCallback))
|
preferencesCallback.then(markFirstPrimaryUserId()).then(subpacketsCallback))
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun adjustPrimaryUserId() =
|
private fun markFirstPrimaryUserId() =
|
||||||
SelfSignatureSubpackets.applyHashed {
|
SelfSignatureSubpackets.applyHashed {
|
||||||
if (primaryKeyHasPrimaryUserId()) {
|
if (primaryKeyHasPrimaryUserId()) {
|
||||||
setPrimaryUserId(null)
|
setPrimaryUserId(null)
|
||||||
|
|
Loading…
Reference in a new issue