Fix nickname property.
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Thu, 20 Sep 2012 13:07:59 +0000 (15:07 +0200)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Thu, 20 Sep 2012 13:07:59 +0000 (15:07 +0200)
src/main/java/de/todesbaum/jsite/application/WebOfTrustInterface.java

index d37e211..aca8e5e 100644 (file)
@@ -205,7 +205,7 @@ public class WebOfTrustInterface implements Runnable {
                                        int identityCounter = -1;
                                        while (message.get("Replies.Identity" + ++identityCounter) != null) {
                                                String id = message.get("Replies.Identity" + identityCounter);
-                                               String nickname = message.get("Replies.Nickname " + identityCounter);
+                                               String nickname = message.get("Replies.Nickname" + identityCounter);
                                                String requestUri = message.get("Replies.RequestURI" + identityCounter);
                                                String insertUri = message.get("Replies.InsertURI" + identityCounter);
                                                DefaultOwnIdentity ownIdentity = new DefaultOwnIdentity(id, nickname, requestUri, insertUri);