summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread/thread.js
diff options
context:
space:
mode:
authorSébastien Theys <seb@odoo.com>2021-01-22 17:10:29 +0000
committerSébastien Theys <seb@odoo.com>2021-01-22 17:10:29 +0000
commit12f11e0daf7e459bfee518b312e144d78e5a5759 (patch)
tree6d1a65755c2ee8e9df43d6da5ded087efb030cde /addons/mail/static/src/models/thread/thread.js
parent86333160f92c16bc61f36b413caed325f8ac59a0 (diff)
[FIX] mail: fix inbox mark all as read on thread view
task-2426357 task-2426366 closes odoo/odoo#64009 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/thread/thread.js')
-rw-r--r--addons/mail/static/src/models/thread/thread.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/addons/mail/static/src/models/thread/thread.js b/addons/mail/static/src/models/thread/thread.js
index 23256c62e7d..0446baa9f8e 100644
--- a/addons/mail/static/src/models/thread/thread.js
+++ b/addons/mail/static/src/models/thread/thread.js
@@ -1520,9 +1520,6 @@ function factory(dependencies) {
if (this.channel_type === 'chat' && !this.areFollowersLoaded) {
this.refreshFollowers();
}
- if (this.needactionMessagesAsOriginThread.length > 0) {
- this.markNeedactionMessagesAsOriginThreadAsRead();
- }
}
/**