aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-07-01 14:12:09 +0300
committerGravatar Vitaly Takmazov2016-07-01 14:12:09 +0300
commit210690e7aefbd4d82e269277d621b5e6efc5c909 (patch)
treedf549445ee33f3a8e4194ea35ce14468bc423ed5 /src/main/java
parentcdbce3f24bc3c7908219ff0aa48f082436b01e5a (diff)
comment juickprotocol for now
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/juick/server/protocol/JuickProtocol.java4
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();