diff options
Diffstat (limited to 'poezio/core/core.py')
-rw-r--r-- | poezio/core/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py index b3aea9a6..6d20fdf7 100644 --- a/poezio/core/core.py +++ b/poezio/core/core.py @@ -928,7 +928,7 @@ class Core(object): Takes a stanza of the form <message type='error'><error/></message> and return a well formed string containing the error informations """ - sender = stanza.attrib['from'] + sender = stanza['from'] msg = stanza['error']['type'] condition = stanza['error']['condition'] code = stanza['error']['code'] |