diff options
author | Vitaly Takmazov | 2016-05-19 23:24:22 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-05-19 23:24:22 +0300 |
commit | 7fb8cdfb02c24c265a081499c858f3aca1efbb2b (patch) | |
tree | 87f8764cf0baf4d3dc6de7b2d19fda827a16b1cb /src/main/java/com/juick/api/Messages.java | |
parent | ce8cef088e7fa1b31a5aa59bb3111600863bc432 (diff) |
update server api and try to fix anonymous chats
Diffstat (limited to 'src/main/java/com/juick/api/Messages.java')
-rw-r--r-- | src/main/java/com/juick/api/Messages.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/api/Messages.java b/src/main/java/com/juick/api/Messages.java index d86193f1..18c868f4 100644 --- a/src/main/java/com/juick/api/Messages.java +++ b/src/main/java/com/juick/api/Messages.java @@ -165,7 +165,7 @@ public class Messages { msg.from = new JID("juick", "juick.com", null); msg.to = new JID(null, "crosspost.juick.com", null); JuickMessage jmsg = new JuickMessage(m); - jmsg.setUser(UserQueries.getUserByUID(sql, 11574)); + jmsg.setUser(UserQueries.getUserByUID(sql, 11574).get()); msg.childs.add(jmsg); msg.to.Username = "twitter"; |