From cafc4d3d47f4de89808208cb2f8c5a1ceef5c443 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 24 Jan 2017 09:14:30 +0300 Subject: juick-xmpp: log stream presences --- juick-xmpp/src/main/java/com/juick/components/s2s/ConnectionIn.java | 1 + 1 file changed, 1 insertion(+) (limited to 'juick-xmpp') 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 77412227..ec996071 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(); -- cgit v1.2.3