Fix createUserId

This commit is contained in:
Dominik Schürmann
2016-04-29 23:52:01 +02:00
parent adeb1bd3f8
commit 5805cd4d0a

View File

@@ -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(" (");