diff options
author | Vitaly Takmazov | 2017-01-24 09:14:30 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-01-24 09:15:47 +0300 |
commit | cafc4d3d47f4de89808208cb2f8c5a1ceef5c443 (patch) | |
tree | fe74597b9b35f3d0af382b0d9ae437d02be98b73 /juick-xmpp/src/main | |
parent | 4e3b2b1f110843f639b6060b9bd7cdee35868dc7 (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.java | 1 |
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 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(); |