From 210690e7aefbd4d82e269277d621b5e6efc5c909 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 1 Jul 2016 14:12:09 +0300 Subject: comment juickprotocol for now --- src/main/java/com/juick/server/protocol/JuickProtocol.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/com') diff --git a/src/main/java/com/juick/server/protocol/JuickProtocol.java b/src/main/java/com/juick/server/protocol/JuickProtocol.java index 923c404e..1a2e5333 100644 --- a/src/main/java/com/juick/server/protocol/JuickProtocol.java +++ b/src/main/java/com/juick/server/protocol/JuickProtocol.java @@ -207,7 +207,7 @@ public class JuickProtocol { if (uid_to > 0) { if (!UserQueries.isInBLAny(sql, uid_to, user_from.getUID())) { if (PMQueries.createPM(sql, user_from.getUID(), uid_to, body)) { - jid_to = UserQueries.getJIDsbyUID(sql, uid_to); + //jid_to = UserQueries.getJIDsbyUID(sql, uid_to); if (jid_to != null) { haveInRoster = PMQueries.havePMinRoster(sql, user_from.getUID(), jid_to); } @@ -228,7 +228,7 @@ public class JuickProtocol { jmsg.setUser(user_from); jmsg.setText(body); // TODO: add PM payload - app.events().publishEvent(new JuickMessageEvent(jmsg)); + //app.events().publishEvent(new JuickMessageEvent(jmsg)); /* TODO: move to XMPP component if (jid_to != null) { Message mm = new Message(); -- cgit v1.2.3