aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/XMPPManager.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2021-04-17 08:53:36 +0300
committerGravatar Vitaly Takmazov2021-04-17 08:53:36 +0300
commit41add777d1aae50c0e5fae0a2b921c78da53efaf (patch)
treea0c75004003d031aebb28ae11fb402bd7729d298 /src/main/java/com/juick/XMPPManager.java
parent7203299e6ec544d36f4889e02b946bb9b6061f09 (diff)
Update XMPP spam warning
Diffstat (limited to 'src/main/java/com/juick/XMPPManager.java')
-rw-r--r--src/main/java/com/juick/XMPPManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/XMPPManager.java b/src/main/java/com/juick/XMPPManager.java
index 2565f87e..8b775495 100644
--- a/src/main/java/com/juick/XMPPManager.java
+++ b/src/main/java/com/juick/XMPPManager.java
@@ -156,7 +156,7 @@ public class XMPPManager implements NotificationListener {
xmpp.addIQHandler(MessageQuery.class, iq -> {
Message warningMessage = new Message(iq.getFrom(), Message.Type.CHAT);
warningMessage.setFrom(jid);
- warningMessage.setBody("Your XMPP client constantly polls us with XMPP query which is unsupported for years, please find http://juick.com/query#messages in your client code and remove that");
+ warningMessage.setBody("Please, stop this shit");
xmpp.send(warningMessage);
return iq.createError(new StanzaError(Condition.BAD_REQUEST, "Please stop this spam"));
});