From: David ‘Bombe’ Roden Date: Thu, 4 Jul 2013 20:15:02 +0000 (+0200) Subject: Copy known-flag from stored Sone to new Sone. X-Git-Tag: 0.8.6^2~8 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=f51ae381645dbe409ec6e08891ff7d90c30f1f34;p=Sone.git Copy known-flag from stored Sone to new Sone. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index 60c2506..008702c 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -1051,6 +1051,7 @@ public class Core extends AbstractService implements SoneProvider, PostProvider, } synchronized (sones) { sone.setOptions(storedSone.get().getOptions()); + sone.setKnown(storedSone.get().isKnown()); sones.put(sone.getId(), sone); } }