Remove some debugging prints
This commit is contained in:
parent
93c17f8ece
commit
42c8deb9e1
2 changed files with 2 additions and 5 deletions
|
@ -158,7 +158,6 @@ class Plugin(BasePlugin):
|
|||
if jid.full not in self.contacts.keys():
|
||||
return ''
|
||||
status = self.contacts[jid.full]
|
||||
self.core.information('%s' % (status,))
|
||||
if status in ('valid', 'invalid', 'signed'):
|
||||
return ' GPG Key: %s (%s)' % (status, 'encrypted' if status == 'valid' else 'NOT encrypted',)
|
||||
else:
|
||||
|
|
|
@ -1422,11 +1422,10 @@ class PrivateTab(ChatTab):
|
|||
|
||||
def on_attention_checked(self, iq):
|
||||
if 'urn:xmpp:attention:0' in iq['disco_info'].get_features():
|
||||
self.core.information('Attention is supported!', 'Info')
|
||||
self.core.information('Attention is supported', 'Info')
|
||||
self.remote_supports_attention = True
|
||||
self.commands['attention'] = (self.command_attention, _('Usage: /attention [message]\nAttention: Require the attention of the contact. Can also send a message along with the attention.'), None)
|
||||
else:
|
||||
self.core.information('Attention is not supported. :(', 'Info')
|
||||
self.remote_supports_attention = False
|
||||
|
||||
def command_unquery(self, arg):
|
||||
|
@ -2204,11 +2203,10 @@ class ConversationTab(ChatTab):
|
|||
|
||||
def on_attention_checked(self, iq):
|
||||
if 'urn:xmpp:attention:0' in iq['disco_info'].get_features():
|
||||
self.core.information('Attention is supported!', 'Info')
|
||||
self.core.information('Attention is supported', 'Info')
|
||||
self.remote_supports_attention = True
|
||||
self.commands['attention'] = (self.command_attention, _('Usage: /attention [message]\nAttention: Require the attention of the contact. Can also send a message along with the attention.'), None)
|
||||
else:
|
||||
self.core.information('Attention is not supported. :(', 'Info')
|
||||
self.remote_supports_attention = False
|
||||
|
||||
def command_unquery(self, arg):
|
||||
|
|
Loading…
Reference in a new issue