Use correct message identifier when computing the chat email body
Closes #14780
This commit is contained in:
1 parent
ee6ec419a7
commit
f2ceae17f3
1 file changed
+2
-2
@@ -72,5 +72,5 @@ class Channel(metaclass=PoolMeta):
|
||||
@classmethod
|
||||
def _email_body(cls, message):
|
||||
with Transaction().set_context(language=message.channel.language):
|
||||
above_msg = gettext('ir.msg_reply_above')
|
||||
return f'{REPLY_LINE}\n{above_msg.text}\n\n{message.content}'
|
||||
above_msg = gettext('inbound_email.msg_reply_above')
|
||||
return f'{REPLY_LINE}\n{above_msg}\n\n{message.content}'
|
||||
Reference in new issue
Block a user