aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/com/juick/jabber/ws/Main.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/juick/jabber/ws/Main.java b/src/com/juick/jabber/ws/Main.java
index f8cad85b..95008259 100644
--- a/src/com/juick/jabber/ws/Main.java
+++ b/src/com/juick/jabber/ws/Main.java
@@ -471,6 +471,7 @@ public class Main implements XmppListener, MessageListener {
String json = "{"
+ "\"mid\":" + jmsg.MID + ","
+ "\"rid\":" + jmsg.RID + ","
+ + "\"replyto\":" + jmsg.ReplyTo + ","
+ "\"user\":{" + "\"uid\":" + jmsg.User.UID + "," + "\"uname\":\"" + encloseJSON(jmsg.User.UName) + "\"},"
+ "\"timestamp\":\"" + jmsg.Timestamp + "\","
+ "\"body\":\"" + encloseJSON(jmsg.Text) + "\""