Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/se/lublin/humla/HumlaService.java')
-rw-r--r--src/main/java/se/lublin/humla/HumlaService.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/se/lublin/humla/HumlaService.java b/src/main/java/se/lublin/humla/HumlaService.java
index 1600587..6715316 100644
--- a/src/main/java/se/lublin/humla/HumlaService.java
+++ b/src/main/java/se/lublin/humla/HumlaService.java
@@ -55,6 +55,7 @@ import se.lublin.humla.model.IChannel;
import se.lublin.humla.model.IUser;
import se.lublin.humla.model.Message;
import se.lublin.humla.model.Server;
+import se.lublin.humla.model.ServerSettings;
import se.lublin.humla.model.TalkState;
import se.lublin.humla.model.User;
import se.lublin.humla.model.WhisperTarget;
@@ -1180,6 +1181,15 @@ public class HumlaService extends Service implements IHumlaService, IHumlaSessio
return null;
}
+ @Override
+ public ServerSettings getServerSettings() {
+ try {
+ return getModelHandler().getServerSettings();
+ } catch (NotSynchronizedException e) {
+ throw new IllegalStateException(e);
+ }
+ }
+
/**
* The current connection state of the service.
*/