summaryrefslogtreecommitdiff
path: root/addons/mail/mail_thread.py
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2012-12-20 12:54:41 +0100
committerThibault Delavallée <tde@openerp.com>2012-12-20 12:54:41 +0100
commit98ebd42e582e9c84c16cbc0ebd7ebcb7854e52ff (patch)
tree70c9586322d3a076956cace70f16fe765d2697dd /addons/mail/mail_thread.py
parente3c31cab9e35132d6d37844a96a91ee230af0133 (diff)
parent58f22ff9edeb6feca5b12b4f4a6bb5be81626709 (diff)
[MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121220115441-6m7l1bs8hcvf87mv
Diffstat (limited to 'addons/mail/mail_thread.py')
-rw-r--r--addons/mail/mail_thread.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/mail/mail_thread.py b/addons/mail/mail_thread.py
index 37f799325b3..7663524c904 100644
--- a/addons/mail/mail_thread.py
+++ b/addons/mail/mail_thread.py
@@ -581,8 +581,8 @@ class mail_thread(osv.AbstractModel):
(msg['message_id'], model)
# disabled subscriptions during message_new/update to avoid having the system user running the
- # email gateway become a follower of all inbound messages
- nosub_ctx = dict(context, mail_nosubscribe=True)
+ # email gateway become a follower of all inbound messages
+ nosub_ctx = dict(context, mail_create_nosubscribe=True)
if thread_id and hasattr(model_pool, 'message_update'):
model_pool.message_update(cr, user_id, [thread_id], msg, context=nosub_ctx)
else: