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/multiuserchat.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/multiuserchat.py')
-rw-r--r-- | poezio/multiuserchat.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/poezio/multiuserchat.py b/poezio/multiuserchat.py index 64b84069..73a802b2 100644 --- a/poezio/multiuserchat.py +++ b/poezio/multiuserchat.py @@ -203,7 +203,8 @@ def set_user_affiliation(xmpp, return iq.send(callback=callback) try: return xmpp.plugin['xep_0045'].set_affiliation( - str(muc_jid), str(jid) if jid else None, nick, affiliation) + str(muc_jid), + str(jid) if jid else None, nick, affiliation) except: log.debug('Error setting the affiliation: %s', exc_info=True) return False |