diff --git a/web_fetchmail_no_followers/model/mail_thread.py b/web_fetchmail_no_followers/model/mail_thread.py index b65ab6bd..f668b01a 100644 --- a/web_fetchmail_no_followers/model/mail_thread.py +++ b/web_fetchmail_no_followers/model/mail_thread.py @@ -29,7 +29,7 @@ message_post_super = mail_thread.message_post @api.cr_uid_ids_context -def MailNoFollowersMessagePost(self, cr, uid, thread_id, body='', subject=None, +def MailNoFollowersMessageFetch(self, cr, uid, thread_id, body='', subject=None, type='notification', subtype=None, parent_id=False, attachments=None, context=None, content_subtype='html', **kwargs): @@ -53,4 +53,4 @@ class MailNoFollowers(models.Model): _name = 'mail.thread' def __init__(self, *arg, **kwargs): - mail_thread.message_post = MailNoFollowersMessagePost + mail_thread.message_post = MailNoFollowersMessageFetch