Fix double-opening exsisting conversations from typeahead

This commit is contained in:
lilia
2015-02-01 18:37:10 -10:00
parent b2345a5ec8
commit 9e245e67e0
2 changed files with 2 additions and 2 deletions

View File

@@ -103,7 +103,7 @@ var Whisper = Whisper || {};
var id = getString(groupId);
var group = new Whisper.Conversation(attributes);
group.save({ id: id, groupId: id }).then(function() {
this.$el.trigger('open', {modelId: id});
this.$group_update.trigger('open', {modelId: id});
}.bind(this));
}.bind(this));
}.bind(this));