mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-07-13 16:43:53 +01:00
Fixup opening existing private conversations
This commit is contained in:
@@ -186,11 +186,13 @@ var Whisper = Whisper || {};
|
||||
id: this.recipients.at(0).id,
|
||||
type: 'private'
|
||||
});
|
||||
conversation.fetch().fail(function() {
|
||||
conversation.fetch().then(function() {
|
||||
this.$el.trigger('open', { modelId: conversation.id });
|
||||
}.bind(this)).fail(function() {
|
||||
if (conversation.save()) {
|
||||
this.$el.trigger('open', { modelId: conversation.id });
|
||||
}
|
||||
});
|
||||
}.bind(this));
|
||||
},
|
||||
|
||||
createGroup: function() {
|
||||
|
||||
Reference in New Issue
Block a user