diff options
Diffstat (limited to 'js/service/messageservice.js')
-rw-r--r-- | js/service/messageservice.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/service/messageservice.js b/js/service/messageservice.js index 8a9256efe..1a606ba9d 100644 --- a/js/service/messageservice.js +++ b/js/service/messageservice.js @@ -290,10 +290,10 @@ define(function(require) { collection.set([message], {remove: false}); } } - defer.resolve(arguments); + defer.resolve(data); }, error: function() { - defer.reject(arguments); + defer.reject(); }, data: { to: message.to, |