aboutsummaryrefslogtreecommitdiff
path: root/juick-xmpp/src/main/java/com/juick/components/s2s
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-10-30 13:52:55 +0300
committerGravatar Vitaly Takmazov2017-10-30 23:55:25 +0300
commit240a375ecdeb7592d8765f0edb7d2fd67c50ac10 (patch)
tree7d518988a1fc3c79ccb00cd07fdb4201569c674e /juick-xmpp/src/main/java/com/juick/components/s2s
parent3ca4188155e5f04a5cc96c4be20ef206e9f3ffde (diff)
xmpp: bot refactoring
Diffstat (limited to 'juick-xmpp/src/main/java/com/juick/components/s2s')
-rw-r--r--juick-xmpp/src/main/java/com/juick/components/s2s/Connection.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/juick-xmpp/src/main/java/com/juick/components/s2s/Connection.java b/juick-xmpp/src/main/java/com/juick/components/s2s/Connection.java
index 6a796307..8157e046 100644
--- a/juick-xmpp/src/main/java/com/juick/components/s2s/Connection.java
+++ b/juick-xmpp/src/main/java/com/juick/components/s2s/Connection.java
@@ -17,6 +17,7 @@
package com.juick.components.s2s;
+import com.fasterxml.jackson.annotation.JsonIgnore;
import com.juick.components.XMPPServer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -127,6 +128,7 @@ public class Connection {
writer = new OutputStreamWriter(socket.getOutputStream(), StandardCharsets.UTF_8);
}
+ @JsonIgnore
public Socket getSocket() {
return socket;
}