Contact sync should update existing contacts
// FREEBIE
This commit is contained in:
parent
7f4ef6e9e7
commit
310f40fcad
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@
|
||||||
if (typeof attrs !== 'object') {
|
if (typeof attrs !== 'object') {
|
||||||
throw new Error('ConversationController.create requires an object, got', attrs);
|
throw new Error('ConversationController.create requires an object, got', attrs);
|
||||||
}
|
}
|
||||||
var conversation = conversations.add(attrs);
|
var conversation = conversations.add(attrs, {merge: true});
|
||||||
return conversation;
|
return conversation;
|
||||||
},
|
},
|
||||||
findOrCreatePrivateById: function(id) {
|
findOrCreatePrivateById: function(id) {
|
||||||
|
|
Loading…
Reference in a new issue