In the commit [1], the patch has been refactored to support the native keyword `super`. The current commit just adapts the codebase to that change. task 3410198 [1]: 19ea1ac08043e22a811630968e44715cc3bfc495 Part-of: odoo/odoo#125716
13 lines
303 B
JavaScript
13 lines
303 B
JavaScript
/* @odoo-module */
|
|
|
|
import { Thread } from "@mail/core/common/thread";
|
|
import { useService } from "@web/core/utils/hooks";
|
|
import { patch } from "@web/core/utils/patch";
|
|
|
|
patch(Thread.prototype, {
|
|
setup() {
|
|
super.setup();
|
|
this.personaService = useService("mail.persona");
|
|
},
|
|
});
|