From 5a5c1fe9920f0a6c571e8c33f650371879de35dd Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Tue, 20 Sep 2016 16:29:55 +0900 Subject: Stop using deprecated aliases from slixmpp. --- poezio/core/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'poezio/core/core.py') 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 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'] -- cgit v1.2.3