Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove isDirty check on user model #55

Merged
merged 2 commits into from
Jul 28, 2015
Merged

Conversation

lemieux
Copy link
Member

@lemieux lemieux commented Jul 28, 2015

This should fix #53. That check is removed for now, but it should be back when we reintroduce throttling.

@jpjoyal @alavers @juliangarritano

@@ -79,14 +79,17 @@ module.exports = ViewController.extend({
conversationDeferred.then(function(conversation) {
// update the user before sending the message to ensure properties are correct
this.user.save({}, {
wait: true
wait: true,
parse: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this option necessary?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point, not sure we need it on that one. We have a custom parse function, because the server sometimes returns only the id.

@alavers
Copy link
Member

alavers commented Jul 28, 2015

👍

lemieux added a commit that referenced this pull request Jul 28, 2015
Remove isDirty check on user model
@lemieux lemieux merged commit 4987e24 into integration Jul 28, 2015
@lemieux lemieux deleted the b/remove-is-dirty branch July 28, 2015 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants