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/tabs/basetabs.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/tabs/basetabs.py')
-rw-r--r-- | poezio/tabs/basetabs.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/poezio/tabs/basetabs.py b/poezio/tabs/basetabs.py index 01dedb3a..135c0b84 100644 --- a/poezio/tabs/basetabs.py +++ b/poezio/tabs/basetabs.py @@ -779,11 +779,12 @@ class OneToOneTab(ChatTab): self.register_command( 'close', self.command_unquery, shortdesc='Close the tab.') self.register_command( - 'attention', self.command_attention, + 'attention', + self.command_attention, usage='[message]', shortdesc='Request the attention.', desc='Attention: Request the attention of the contact. Can also ' - 'send a message along with the attention.') + 'send a message along with the attention.') def remote_user_color(self): return dump_tuple(get_theme().COLOR_REMOTE_USER) @@ -854,8 +855,7 @@ class OneToOneTab(ChatTab): nickname=self.core.own_nick, nick_color=get_theme().COLOR_OWN_NICK, identifier=message['id'], - jid=self.core.xmpp.boundjid - ) + jid=self.core.xmpp.boundjid) self.refresh() def check_features(self): |