Move key change advisory content to the model

Return this content from a helper method so it can be used to populate
the last message on conversations.
This commit is contained in:
lilia 2017-01-22 20:20:53 -08:00
parent 260f50c104
commit a623f909f2
2 changed files with 16 additions and 6 deletions

View file

@ -91,7 +91,7 @@
},
render_attributes: function() {
return {
content: i18n('keychanged', this.conversation.getTitle())
content: this.model.getNotificationText()
};
},
verifyIdentity: function() {