[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:
@@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user