[IMP] mail: only send thread to chatter rendered

As a first step clean up, attachments can be read directly from thread instead.

Part of task-2886642

Part-of: odoo/odoo#93895
This commit is contained in:
Sébastien Theys
2022-06-20 18:56:18 +02:00
parent 0c30945d36
commit a6d6a71fdf
@@ -38,8 +38,7 @@ export class Chatter extends LegacyComponent {
*/
_notifyRendered() {
this.trigger('o-chatter-rendered', {
attachments: this.chatter.thread.allAttachments,
thread: this.chatter.thread.localId,
thread: this.chatter.thread,
});
}