From 23afae3ee573dd72ed5c58a2e013dcf307829c66 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 2 Apr 2018 19:52:11 +0300 Subject: www: fix xmpp jids --- juick-www/src/main/java/com/juick/www/controllers/NewMessage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'juick-www/src/main/java/com/juick/www/controllers') diff --git a/juick-www/src/main/java/com/juick/www/controllers/NewMessage.java b/juick-www/src/main/java/com/juick/www/controllers/NewMessage.java index 6e16ae50..ee4a6025 100644 --- a/juick-www/src/main/java/com/juick/www/controllers/NewMessage.java +++ b/juick-www/src/main/java/com/juick/www/controllers/NewMessage.java @@ -182,7 +182,7 @@ public class NewMessage { xmsg.setBody("Reply by @" + jmsg.getUser().getName() + ":\n>" + quote + "\n" + body + "\n\n#" + mid + "/" + ridnew + " http://juick.com/" + mid + "#" + ridnew); - xmsg.setTo(Jid.of("juick@s2s.juick.com")); + xmsg.setTo(Jid.of("juick@juick.com")); xmpp.send(xmsg); } else { logger.warn("XMPP unavailable"); @@ -219,7 +219,7 @@ public class NewMessage { if (xmpp.isConnected()) { Message msg = new Message(); msg.setFrom(Jid.of("juick@juick.com")); - msg.setTo(Jid.of("pm@s2s.juick.com")); + msg.setTo(Jid.of("pm@juick.com")); com.juick.Message jmsg = new com.juick.Message(); jmsg.setUser(visitor); jmsg.setText(body); -- cgit v1.2.3