summaryrefslogtreecommitdiff
path: root/poezio/core/handlers.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/core/handlers.py')
-rw-r--r--poezio/core/handlers.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py
index f1a8bcb9..a7a0797b 100644
--- a/poezio/core/handlers.py
+++ b/poezio/core/handlers.py
@@ -1078,11 +1078,12 @@ class HandlerCore:
roster.modified()
if not logger.log_roster_change(jid.bare, 'got online'):
self.core.information('Unable to write in the log file', 'Error')
- resource = Resource(jid.full, {
- 'priority': presence.get_priority() or 0,
- 'status': presence['status'],
- 'show': presence['show'],
- })
+ resource = Resource(
+ jid.full, {
+ 'priority': presence.get_priority() or 0,
+ 'status': presence['status'],
+ 'show': presence['show'],
+ })
self.core.events.trigger('normal_presence', presence, resource)
name = contact.name if contact.name else jid.bare
self.core.add_information_message_to_conversation_tab(