diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2023-09-24 13:06:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-24 13:06:35 +0200 |
commit | 2d9a87ed632d97d17fca54d44d72d5c25c63852f (patch) | |
tree | f1cecea078e45378c468519be6b4a2eea0f02b9d | |
parent | c015718176de75e2132d39b6257ca5c966a7fce2 (diff) | |
parent | 52fe409e8a3ae4469bae2e7fe128322515bca954 (diff) |
Merge pull request #658 from shemeshg/getRecipientListSplitByHash
qtpass do not strip comments of gpg_id file
-rw-r--r-- | src/pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pass.cpp b/src/pass.cpp index 44f6401d..568809a1 100644 --- a/src/pass.cpp +++ b/src/pass.cpp @@ -322,7 +322,7 @@ QStringList Pass::getRecipientList(QString for_file) { QStringList recipients; while (!gpgId.atEnd()) { QString recipient(gpgId.readLine()); - recipient = recipient.trimmed(); + recipient = recipient.split("#")[0].trimmed(); if (!recipient.isEmpty()) recipients += recipient; } |