mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-24 11:57:59 +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(
|
||||
userId,
|
||||
subpacketsCallback =
|
||||
preferencesCallback.then(adjustPrimaryUserId()).then(subpacketsCallback))
|
||||
preferencesCallback.then(markFirstPrimaryUserId()).then(subpacketsCallback))
|
||||
}
|
||||
|
||||
private fun adjustPrimaryUserId() =
|
||||
private fun markFirstPrimaryUserId() =
|
||||
SelfSignatureSubpackets.applyHashed {
|
||||
if (primaryKeyHasPrimaryUserId()) {
|
||||
setPrimaryUserId(null)
|
||||
|
|
Loading…
Reference in a new issue