mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Move handlePushMessageContent to message model
And retool message handling flow to helps us avoid instantiating duplicate message and conversation models.
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
tagName: 'div',
|
||||
template: $('#message').html(),
|
||||
initialize: function() {
|
||||
this.listenTo(this.model, 'change:body', this.render);
|
||||
this.listenTo(this.model, 'change:body change:errors', this.render);
|
||||
this.listenTo(this.model, 'change:delivered', this.renderDelivered);
|
||||
},
|
||||
className: function() {
|
||||
|
||||
Reference in New Issue
Block a user