Insert keychange advisories
On click, these open a verification panel for the relevant contact, within this conversation. // FREEBIE
This commit is contained in:
parent
1f0a93bf70
commit
7fe708d195
10 changed files with 93 additions and 13 deletions
|
@ -132,6 +132,15 @@
|
|||
}
|
||||
return c;
|
||||
},
|
||||
getModelForKeyChange: function() {
|
||||
var id = this.get('key_changed');
|
||||
var c = ConversationController.get(id);
|
||||
if (!c) {
|
||||
c = ConversationController.create({ id: id, type: 'private' });
|
||||
c.fetch();
|
||||
}
|
||||
return c;
|
||||
},
|
||||
isOutgoing: function() {
|
||||
return this.get('type') === 'outgoing';
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue