From d29f6b2ca92cbd3495cf5c252d310f4fb13b354d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sat, 22 Sep 2018 15:35:45 +0200 Subject: [PATCH] Dont parse our own nick on sent carbons Fixes #9051 --- gajim/common/modules/message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gajim/common/modules/message.py b/gajim/common/modules/message.py index 598e1257a..1bee6875b 100644 --- a/gajim/common/modules/message.py +++ b/gajim/common/modules/message.py @@ -230,7 +230,7 @@ class Message: 'displaymarking': parse_securitylabel(event.stanza), 'attention': parse_attention(event.stanza), 'correct_id': parse_correction(event.stanza), - 'user_nick': parse_nickname(event.stanza), + 'user_nick': '' if event.sent else parse_nickname(event.stanza), 'form_node': parse_form(event.stanza), 'xhtml': parse_xhtml(event.stanza), 'chatstate': parse_chatstate(event.stanza),