diff --git a/mail_base/__manifest__.py b/mail_base/__manifest__.py index 12d535e..769c355 100644 --- a/mail_base/__manifest__.py +++ b/mail_base/__manifest__.py @@ -7,7 +7,7 @@ "summary": """Makes Mail extendable""", "category": "Discuss", "images": [], - "version": "11.0.1.1.0", + "version": "11.0.1.1.1", "author": "IT-Projects LLC, Pavel Romanchenko", "support": "apps@it-projects.info", diff --git a/mail_base/doc/changelog.rst b/mail_base/doc/changelog.rst index 8825558..83589b0 100644 --- a/mail_base/doc/changelog.rst +++ b/mail_base/doc/changelog.rst @@ -1,3 +1,8 @@ +`1.1.1` +------- + +**Fix**: Messages were marked as read, while there were not + `1.1.0` ------- - **New**: added ability to select channels for private message sending. diff --git a/mail_base/static/lib/base.js b/mail_base/static/lib/base.js index a00f7bc..fa9dcbe 100644 --- a/mail_base/static/lib/base.js +++ b/mail_base/static/lib/base.js @@ -986,7 +986,9 @@ chat_manager.get_messages = function (options) { if ('ids' in options) { // get messages from their ids (chatter is the main use case) return this._fetchDocumentMessages(options.ids, options).then(function(result) { - chat_manager.mark_as_read(options.ids); + if (options.shouldMarkAsRead) { + chat_manager.mark_as_read(options.ids); + } return result; }); }