From 7a79f80d9bf48c84ee86faf8d09ef4bc05a52fb4 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 20 Nov 2016 18:28:00 +0300 Subject: juick-xmpp: forward empty messages to router, there may be delivery receipts --- juick-xmpp/src/main/java/com/juick/components/s2s/JuickBot.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-xmpp') diff --git a/juick-xmpp/src/main/java/com/juick/components/s2s/JuickBot.java b/juick-xmpp/src/main/java/com/juick/components/s2s/JuickBot.java index 7bb1b230..ac7d122f 100644 --- a/juick-xmpp/src/main/java/com/juick/components/s2s/JuickBot.java +++ b/juick-xmpp/src/main/java/com/juick/components/s2s/JuickBot.java @@ -139,7 +139,7 @@ public class JuickBot { public boolean incomingMessage(Message msg) throws Exception { if (msg.body == null || msg.body.isEmpty()) { - return true; + return false; } String username = msg.to.Username.toLowerCase(); -- cgit v1.2.3