From 4bab99bdaf64eb0704c46ef5fe94098b14ccff29 Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Fri, 29 Jan 2016 08:36:19 +0100 Subject: [FIX] mail: don't notify 'join/left' messages Messages of type 'notification' and whose model is 'mail.channel' are considered as 'system notifications'. This is the case of 'join/left' messages. They aren't taken into account when computing unread messages anymore. Also use the same heuristic to decide whether or not to display the message's star, so from now on pure notifications (not system notifications), like status change on a document, can be starred. --- addons/mail/static/src/xml/thread.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/mail/static/src/xml/thread.xml') diff --git a/addons/mail/static/src/xml/thread.xml b/addons/mail/static/src/xml/thread.xml index 970c8ff6a6f..83436f37495 100644 --- a/addons/mail/static/src/xml/thread.xml +++ b/addons/mail/static/src/xml/thread.xml @@ -97,7 +97,7 @@ (from #) - Date: Mon, 1 Feb 2016 16:02:07 +0100 Subject: [FIX] mail: keep expanded messages expanded after refresh Commit c04103f re-renders the thread every minute to update messages' date. As a consequence, the expanded messages are lost (they are shortened again). This rev. makes sure to keep those messages expanded. --- addons/mail/static/src/xml/thread.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/mail/static/src/xml/thread.xml') diff --git a/addons/mail/static/src/xml/thread.xml b/addons/mail/static/src/xml/thread.xml index 83436f37495..ca863d9ad8f 100644 --- a/addons/mail/static/src/xml/thread.xml +++ b/addons/mail/static/src/xml/thread.xml @@ -46,7 +46,7 @@ -
+