[FIX] mail: correct typo in e5e549a4cf

This commit is contained in:
Olivier Dony
2017-10-20 14:23:38 +02:00
parent 2455350c40
commit 78dcbdee6e
+1 -1
View File
@@ -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)