diff --git a/addons/mail/static/src/core/common/channel_member_model.js b/addons/mail/static/src/core/common/channel_member_model.js index 3266988be77..cccf63fffaf 100644 --- a/addons/mail/static/src/core/common/channel_member_model.js +++ b/addons/mail/static/src/core/common/channel_member_model.js @@ -26,7 +26,7 @@ export class ChannelMember extends Record { id; persona = Record.one("Persona", { inverse: "channelMembers" }); rtcSession = Record.one("RtcSession"); - thread = Record.one("Thread"); + thread = Record.one("Thread", { inverse: "channelMembers" }); /** * @returns {string}