25 lines
721 B
Diff
25 lines
721 B
Diff
From 1a1ebfdc2e1018b6d989e32b94f4bf4245dea36d Mon Sep 17 00:00:00 2001
|
|
From: shemeshg <gili.shemesh@gmail.com>
|
|
Date: Sun, 24 Sep 2023 03:42:12 +0300
|
|
Subject: [PATCH] getRecipientListSplitByHash
|
|
|
|
---
|
|
src/pass.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
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;
|
|
}
|
|
--
|
|
2.47.0
|
|
|