always say we want to receive pep notifications even if server don't support it.

This commit is contained in:
Yann Leboulanger 2008-04-19 22:08:40 +00:00
parent ffbc0c65bc
commit 54608822a3
1 changed files with 6 additions and 7 deletions

View File

@ -776,7 +776,6 @@ class ConnectionDisco:
q.addChild('feature', attrs = {'var': 'sslc2s'}) q.addChild('feature', attrs = {'var': 'sslc2s'})
q.addChild('feature', attrs = {'var': 'stringprep'}) q.addChild('feature', attrs = {'var': 'stringprep'})
q.addChild('feature', attrs = {'var': common.xmpp.NS_PING}) q.addChild('feature', attrs = {'var': common.xmpp.NS_PING})
if self.pep_supported:
q.addChild('feature', attrs = {'var': common.xmpp.NS_ACTIVITY}) q.addChild('feature', attrs = {'var': common.xmpp.NS_ACTIVITY})
q.addChild('feature', attrs = {'var': common.xmpp.NS_ACTIVITY + '+notify'}) q.addChild('feature', attrs = {'var': common.xmpp.NS_ACTIVITY + '+notify'})
q.addChild('feature', attrs = {'var': common.xmpp.NS_TUNE}) q.addChild('feature', attrs = {'var': common.xmpp.NS_TUNE})