diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2006-05-01 17:29:16 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2006-05-01 17:29:16 +0400 |
commit | 1e6c848761c46f4d27f2f5d8f0ccc31c99703f1d (patch) | |
tree | 88e144e268bfb4fad89c5f21c2d723a91738cdfc | |
parent | 5a9625ff902e9ed220ca5cd351a1bfdd709ed534 (diff) |
use jid_is_transport func to detect transport jid
-rw-r--r-- | src/chat_control.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chat_control.py b/src/chat_control.py index eec9cd718..cf6e60e8f 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -937,7 +937,7 @@ class ChatControl(ChatControlBase): # we can do gpg # if self.contact is our own contact info (transports), # don't enable pgp - if self.contact.keyID and self.contact.jid.find('@') != -1: + if self.contact.keyID and not gajim.jid_is_transport(self.contact.jid): tb.set_sensitive(True) tt = _('OpenPGP Encryption') |