Skip to content
This repository has been archived by the owner on Nov 8, 2018. It is now read-only.

Commit

Permalink
return UID correctly so old drafts are automatically removed
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristophWurst committed Apr 29, 2016
1 parent a6f9c7d commit 37d04c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/service/messageservice.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 37d04c1

Please sign in to comment.