type in identities is not mendatory

This commit is contained in:
Yann Leboulanger 2008-04-22 23:52:04 +00:00
parent a43e6d2cfa
commit f4f38e3738
1 changed files with 1 additions and 1 deletions

View File

@ -812,7 +812,7 @@ class ConnectionDisco:
gajim.gmail_domains.append(jid) gajim.gmail_domains.append(jid)
self.request_gmail_notifications() self.request_gmail_notifications()
for identity in identities: for identity in identities:
if identity['category'] == 'pubsub' and identity['type'] == \ if identity['category'] == 'pubsub' and identity.get('type') == \
'pep': 'pep':
self.pep_supported = True self.pep_supported = True
if dbus_support.supported: if dbus_support.supported: