summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/discuss.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/mail/static/src/xml/discuss.xml')
-rw-r--r--addons/mail/static/src/xml/discuss.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/mail/static/src/xml/discuss.xml b/addons/mail/static/src/xml/discuss.xml
index 1ec08a23635..1eda1dfec1b 100644
--- a/addons/mail/static/src/xml/discuss.xml
+++ b/addons/mail/static/src/xml/discuss.xml
@@ -231,7 +231,9 @@
<span class="fa fa-mail-reply"/> You:
</t>
<t t-else="">
- <t t-esc="channel.last_message.displayed_author"/>:
+ <t t-if="channel.last_message.displayed_author">
+ <t t-esc="channel.last_message.displayed_author"/>:
+ </t>
</t>
<t t-raw="channel.last_message_preview"/>
</div>