mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-22 01:18:19 +01:00
Apply custom chrome to conversation windows
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
render_attributes: function() {
|
||||
return { group: this.model.get('type') === 'group' };
|
||||
},
|
||||
initialize: function() {
|
||||
initialize: function(options) {
|
||||
this.listenTo(this.model, 'destroy', this.stopListening);
|
||||
|
||||
this.render();
|
||||
@@ -41,6 +41,10 @@
|
||||
this.$('.discussion-container').append(this.view.el);
|
||||
this.view.render();
|
||||
|
||||
new Whisper.WindowControlsView({
|
||||
appWindow: options.appWindow
|
||||
}).$el.appendTo(this.$('#header'));
|
||||
|
||||
setTimeout(function() {
|
||||
this.view.scrollToBottom();
|
||||
}.bind(this), 10);
|
||||
|
||||
Reference in New Issue
Block a user