From: David ‘Bombe’ Roden Date: Mon, 11 Apr 2011 11:50:49 +0000 (+0200) Subject: Add all Sone-specific options when creating a Sone. X-Git-Tag: beta-freefall-0.6.2-1~8^2~3 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=24c1e67db707f32465c06ab0e3ba623f5e087cf1;p=Sone.git Add all Sone-specific options when creating a Sone. This fixes #144. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index 1fe843e..e18fabc 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -876,6 +876,8 @@ public class Core implements IdentityListener, UpdateListener { return null; } Sone sone = addLocalSone(ownIdentity); + sone.getOptions().addBooleanOption("AutoFollow", new DefaultOption(false)); + saveSone(sone); return sone; }