aboutsummaryrefslogtreecommitdiff
path: root/juick-xmpp/src/main/java/com/juick/components/s2s
diff options
context:
space:
mode:
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;
}