diff options
author | Vitaly Takmazov | 2021-04-17 08:53:36 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2021-04-17 08:53:36 +0300 |
commit | 41add777d1aae50c0e5fae0a2b921c78da53efaf (patch) | |
tree | a0c75004003d031aebb28ae11fb402bd7729d298 /src/main/java/com/juick/XMPPManager.java | |
parent | 7203299e6ec544d36f4889e02b946bb9b6061f09 (diff) |
Update XMPP spam warning
Diffstat (limited to 'src/main/java/com/juick/XMPPManager.java')
-rw-r--r-- | src/main/java/com/juick/XMPPManager.java | 2 |
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")); }); |