diff options
author | Vitaly Takmazov | 2016-11-20 18:28:00 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-11-20 18:38:45 +0300 |
commit | 7a79f80d9bf48c84ee86faf8d09ef4bc05a52fb4 (patch) | |
tree | a300de6fdb81ba6963a988738154820f4eea7923 /juick-xmpp | |
parent | e7940d5c3a485e6015ae51c3b3e5fe2f05aafde9 (diff) |
juick-xmpp: forward empty messages to router, there may be delivery receipts
Diffstat (limited to 'juick-xmpp')
-rw-r--r-- | juick-xmpp/src/main/java/com/juick/components/s2s/JuickBot.java | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |