Add items to conversation history when user verifies/unverifies
FREEBIE
This commit is contained in:
parent
02973372aa
commit
1cf9289b1a
12 changed files with 168 additions and 4 deletions
|
@ -182,6 +182,18 @@
|
|||
}
|
||||
return this.modelForKeyChange;
|
||||
},
|
||||
getModelForVerifiedChange: function() {
|
||||
var id = this.get('verifiedChanged');
|
||||
if (!this.modelForVerifiedChange) {
|
||||
var c = ConversationController.get(id);
|
||||
if (!c) {
|
||||
c = ConversationController.create({ id: id, type: 'private' });
|
||||
c.fetch();
|
||||
}
|
||||
this.modelForVerifiedChange = c;
|
||||
}
|
||||
return this.modelForVerifiedChange;
|
||||
},
|
||||
isOutgoing: function() {
|
||||
return this.get('type') === 'outgoing';
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue