aboutsummaryrefslogtreecommitdiff
path: root/server-core/src
diff options
context:
space:
mode:
Diffstat (limited to 'server-core/src')
-rw-r--r--server-core/src/main/java/com/juick/server/protocol/JuickProtocol.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/server-core/src/main/java/com/juick/server/protocol/JuickProtocol.java b/server-core/src/main/java/com/juick/server/protocol/JuickProtocol.java
index f1e98eb9..6fa3790e 100644
--- a/server-core/src/main/java/com/juick/server/protocol/JuickProtocol.java
+++ b/server-core/src/main/java/com/juick/server/protocol/JuickProtocol.java
@@ -8,7 +8,6 @@ import com.juick.json.MessageSerializer;
import com.juick.server.*;
import com.juick.server.protocol.annotation.UserCommand;
import com.juick.util.TagUtils;
-import com.juick.xmpp.extensions.JuickMessage;
import org.springframework.jdbc.core.JdbcTemplate;
import java.lang.reflect.InvocationTargetException;
@@ -305,7 +304,7 @@ public class JuickProtocol {
if (ret == 200) {
- JuickMessage jmsg = new JuickMessage();
+ Message jmsg = new Message();
jmsg.setUser(user_from);
jmsg.setText(body);
// TODO: add PM payload