[FIX] mail: correct typo in e5e549a4cf
This commit is contained in:
@@ -251,7 +251,7 @@ class Channel(models.Model):
|
||||
author = self.env['res.partner'].browse(message_dict.get('author_id', False))
|
||||
if not author or author not in self.channel_partner_ids:
|
||||
return {
|
||||
'error_mesage': _('restricted to channel members'),
|
||||
'error_message': _('restricted to channel members'),
|
||||
}
|
||||
return True
|
||||
return super(Channel, self)._alias_check_contact(message, message_dict, alias)
|
||||
|
||||
Reference in New Issue
Block a user