mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Consolidate message callbacks
Register the runtime callback at the top level view rather than having each conversation view register independently. Also refactors Layout into InboxView.
This commit is contained in:
@@ -19,6 +19,7 @@ var Whisper = Whisper || {};
|
||||
var view = new this.itemView({model: model});
|
||||
this.$el.prepend(view.render().el);
|
||||
}, this);
|
||||
this.scrollToBottom();
|
||||
},
|
||||
});
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user