aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/java/org/sufficientlysecure
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2016-04-29 23:52:01 +0200
committerDominik Schürmann <dominik@dominikschuermann.de>2016-04-29 23:52:01 +0200
commit5805cd4d0ac05438df5d740f7a1a46d431f65fe8 (patch)
tree1c06cdce53c74bcd740977e820bee7b06d7bef0d /OpenKeychain/src/main/java/org/sufficientlysecure
parentadeb1bd3f85d79c8639d25a9784324ddd81aa745 (diff)
downloadopen-keychain-5805cd4d0ac05438df5d740f7a1a46d431f65fe8.tar.gz
open-keychain-5805cd4d0ac05438df5d740f7a1a46d431f65fe8.tar.bz2
open-keychain-5805cd4d0ac05438df5d740f7a1a46d431f65fe8.zip
Fix createUserId
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure')
-rw-r--r--OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/KeyRing.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/KeyRing.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/KeyRing.java
index d2384e679..1ebab7847 100644
--- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/KeyRing.java
+++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/KeyRing.java
@@ -92,7 +92,7 @@ public abstract class KeyRing {
public static String createUserId(UserId userId) {
StringBuilder userIdBuilder = new StringBuilder();
if (!TextUtils.isEmpty(userId.name)) {
- userIdBuilder.append(userId.comment);
+ userIdBuilder.append(userId.name);
}
if (!TextUtils.isEmpty(userId.comment)) {
userIdBuilder.append(" (");