aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-11-20 18:28:00 +0300
committerGravatar Vitaly Takmazov2016-11-20 18:38:45 +0300
commit7a79f80d9bf48c84ee86faf8d09ef4bc05a52fb4 (patch)
treea300de6fdb81ba6963a988738154820f4eea7923
parente7940d5c3a485e6015ae51c3b3e5fe2f05aafde9 (diff)
juick-xmpp: forward empty messages to router, there may be delivery receipts
-rw-r--r--juick-xmpp/src/main/java/com/juick/components/s2s/JuickBot.java2
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();