Set conversation type when creating from sync message
When a conversation is created as the result of a sync message, and it is not a group, we need to set its type to private. // FREEBIE
This commit is contained in:
parent
7e8b1319a5
commit
e9d7864f75
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@
|
|||
var conversation = new Whisper.Conversation({id: conversationId});
|
||||
conversation.fetch().always(function() {
|
||||
var now = new Date().getTime();
|
||||
var attributes = {};
|
||||
var attributes = { type: 'private' };
|
||||
if (pushMessageContent.group) {
|
||||
var group_update = {};
|
||||
attributes = {
|
||||
|
|
Loading…
Reference in a new issue