Author: xor
Date: 2008-11-15 22:11:09 +0000 (Sat, 15 Nov 2008)
New Revision: 23609

Modified:
   trunk/plugins/WoT/WoT.java
Log:
Set the edition of the identity to the old edition when restoring.

Modified: trunk/plugins/WoT/WoT.java
===================================================================
--- trunk/plugins/WoT/WoT.java  2008-11-15 22:09:41 UTC (rev 23608)
+++ trunk/plugins/WoT/WoT.java  2008-11-15 22:11:09 UTC (rev 23609)
@@ -273,6 +273,7 @@
                        
                        // We already have fetched this identity as a 
stranger's one. We need to update the database.
                        id = new OwnIdentity(new FreenetURI(insertURI), new 
FreenetURI(requestURI), old.getNickName(), old.doesPublishTrustList());
+                       id.setEdition(old.getEdition());
                        
                        Iterator<String> i1 = old.getContexts();
                        while (i1.hasNext()) id.addContext(i1.next(), db);

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to