summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/js/basic_view.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/mail/static/src/js/basic_view.js')
-rw-r--r--addons/mail/static/src/js/basic_view.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/mail/static/src/js/basic_view.js b/addons/mail/static/src/js/basic_view.js
index 042e0ded8e8..6d74903e19c 100644
--- a/addons/mail/static/src/js/basic_view.js
+++ b/addons/mail/static/src/js/basic_view.js
@@ -9,12 +9,14 @@ BasicView.include({
init: function () {
this._super.apply(this, arguments);
const post_refresh = this._getFieldOption('message_ids', 'post_refresh', false);
+ const followers_post_refresh = this._getFieldOption('message_follower_ids', 'post_refresh', false);
this.chatterFields = {
hasActivityIds: this._hasField('activity_ids'),
hasMessageFollowerIds: this._hasField('message_follower_ids'),
hasMessageIds: this._hasField('message_ids'),
hasRecordReloadOnAttachmentsChanged: post_refresh === 'always',
hasRecordReloadOnMessagePosted: !!post_refresh,
+ hasRecordReloadOnFollowersUpdate: !!followers_post_refresh,
isActivityBoxVisible: this._getFieldOption('message_ids', 'open_attachments', false),
};
const fieldsInfo = this.fieldsInfo[this.viewType];