aboutsummaryrefslogtreecommitdiff
path: root/juick-xmpp/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-01-24 09:14:30 +0300
committerGravatar Vitaly Takmazov2017-01-24 09:15:47 +0300
commitcafc4d3d47f4de89808208cb2f8c5a1ceef5c443 (patch)
treefe74597b9b35f3d0af382b0d9ae437d02be98b73 /juick-xmpp/src/main
parent4e3b2b1f110843f639b6060b9bd7cdee35868dc7 (diff)
juick-xmpp: log stream presences
Diffstat (limited to 'juick-xmpp/src/main')
-rw-r--r--juick-xmpp/src/main/java/com/juick/components/s2s/ConnectionIn.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/juick-xmpp/src/main/java/com/juick/components/s2s/ConnectionIn.java b/juick-xmpp/src/main/java/com/juick/components/s2s/ConnectionIn.java
index 774122272..ec996071f 100644
--- a/juick-xmpp/src/main/java/com/juick/components/s2s/ConnectionIn.java
+++ b/juick-xmpp/src/main/java/com/juick/components/s2s/ConnectionIn.java
@@ -101,6 +101,7 @@ public class ConnectionIn extends Connection implements Runnable {
}
} else if (tag.equals("presence") && checkFromTo(parser)) {
Presence p = Presence.parse(parser, null);
+ logger.info("stream {}: {}", streamID, p);
xmpp.onStanzaReceived("presence", p);
} else if (tag.equals("message") && checkFromTo(parser)) {
updateTsRemoteData();