diff options
-rw-r--r-- | poezio/core/handlers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py index 620d854c..47915008 100644 --- a/poezio/core/handlers.py +++ b/poezio/core/handlers.py @@ -1116,7 +1116,7 @@ class HandlerCore: if not contact: return roster.modified() - contact.error = presence['error']['type'] + ': ' + presence['error']['condition'] + contact.error = presence['error']['text'] or presence['error']['type'] + ': ' + presence['error']['condition'] # TODO: reset chat states status on presence error def on_got_offline(self, presence): |