Dont parse our own nick on sent carbons

Fixes #9051
This commit is contained in:
Philipp Hörist 2018-09-22 15:35:45 +02:00
parent 06302cdc4d
commit d29f6b2ca9
1 changed files with 1 additions and 1 deletions

View File

@ -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),