mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
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:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user