Fix null conversationId on group sync messages
This commit is contained in:
parent
65a6068003
commit
654373d743
1 changed files with 2 additions and 1 deletions
|
@ -133,7 +133,8 @@
|
|||
var conversationId = source;
|
||||
if (pushMessageContent.sync) {
|
||||
conversationId = pushMessageContent.sync.destination;
|
||||
} else if (pushMessageContent.group) {
|
||||
}
|
||||
if (pushMessageContent.group) {
|
||||
conversationId = pushMessageContent.group.id;
|
||||
}
|
||||
var conversation = new Whisper.Conversation({id: conversationId});
|
||||
|
|
Loading…
Reference in a new issue