aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-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();