diff options
author | 2018-04-02 19:52:11 +0300 | |
---|---|---|
committer | 2018-04-02 19:52:11 +0300 | |
commit | 23afae3ee573dd72ed5c58a2e013dcf307829c66 (patch) | |
tree | 8b09f9d9c98a5232704293ae48ba5570cb74de9d /juick-www/src | |
parent | 32522d67e66c2d9adb2fb4d199b9e82172b95bf8 (diff) |
www: fix xmpp jids
Diffstat (limited to 'juick-www/src')
-rw-r--r-- | juick-www/src/main/java/com/juick/www/controllers/NewMessage.java | 4 |
1 files changed, 2 insertions, 2 deletions
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); |