Commit a9e1ac97 authored by Philipp Hörist's avatar Philipp Hörist

XMLConsole: Fix displaying AccountWizard stanzas

parent 30f2b975
......@@ -346,7 +346,10 @@ def _nec_stanza_sent(self, event):
self._print_stanza(event, 'outgoing')
def _print_stanza(self, event, kind):
account_label = app.get_account_label(event.account)
if event.account == 'AccountWizard':
account_label = 'Account Wizard'
else:
account_label = app.get_account_label(event.account)
stanza = event.stanza
if not isinstance(stanza, str):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment