diff options
author | Vitaly Takmazov | 2016-07-01 14:12:09 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-07-01 14:12:09 +0300 |
commit | 210690e7aefbd4d82e269277d621b5e6efc5c909 (patch) | |
tree | df549445ee33f3a8e4194ea35ce14468bc423ed5 | |
parent | cdbce3f24bc3c7908219ff0aa48f082436b01e5a (diff) |
comment juickprotocol for now
-rw-r--r-- | src/main/java/com/juick/server/protocol/JuickProtocol.java | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |