mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Update the window title when a group title or contact name changes
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
},
|
||||
initialize: function(options) {
|
||||
this.listenTo(this.model, 'destroy', this.stopListening);
|
||||
this.listenTo(this.model, 'change:name', this.updateTitle);
|
||||
|
||||
this.render();
|
||||
|
||||
@@ -181,6 +182,10 @@
|
||||
return m;
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
updateTitle: function() {
|
||||
this.$('.conversation-title').text(this.model.getTitle());
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user