diff --git a/addons/im_livechat/models/mail_channel.py b/addons/im_livechat/models/mail_channel.py index 30ee3699bf5..c7ca4098093 100644 --- a/addons/im_livechat/models/mail_channel.py +++ b/addons/im_livechat/models/mail_channel.py @@ -46,8 +46,6 @@ class MailChannel(models.Model): for record in self: if record.channel_type == 'livechat': record.is_chat = True - else: - record.is_chat = False def _channel_message_notifications(self, message, message_format=False): """ When a anonymous user create a mail.channel, the operator is not notify (to avoid massive polling when