diff options
author | mathieui <mathieui@mathieui.net> | 2018-01-13 15:33:19 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2018-01-13 15:33:19 +0100 |
commit | 12ede4d3019a611b3b58d245d65c52bc01f37046 (patch) | |
tree | c723738a7d266fdabea15b1ebcd17fec7cb648f1 /poezio/core/handlers.py | |
parent | 6fe2f208337db898d370d7a2374b416d998b5b5f (diff) | |
download | poezio-12ede4d3019a611b3b58d245d65c52bc01f37046.tar.gz poezio-12ede4d3019a611b3b58d245d65c52bc01f37046.tar.bz2 poezio-12ede4d3019a611b3b58d245d65c52bc01f37046.tar.xz poezio-12ede4d3019a611b3b58d245d65c52bc01f37046.zip |
yapf -ir
Diffstat (limited to 'poezio/core/handlers.py')
-rw-r--r-- | poezio/core/handlers.py | 11 |
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( |