Return IDs of Sone and recipient when getting new posts.
[Sone.git] / src / main / resources / static / javascript / sone.js
index 2c3f742..c9521b7 100644 (file)
@@ -585,7 +585,7 @@ function getStatus() {
                        });
                        /* process new posts. */
                        $.each(data.newPosts, function(index, value) {
-                               loadNewPost(value);
+                               loadNewPost(value.id, value.sone, value.recipient);
                        });
                        /* process new replies. */
                        $.each(data.newReplies, function(index, value) {