fix typo in finction name and correctly retract location data

This commit is contained in:
Yann Leboulanger 2009-12-07 23:50:29 +01:00
parent 5e2f1cf770
commit 7c2cb2dd93
1 changed files with 5 additions and 5 deletions

View File

@ -546,7 +546,7 @@ class ConnectionPEP(object):
if not self.pep_supported:
return
self.send_activity(None)
# not all server support new XEP, so we still retract
# not all client support new XEP, so we still retract
self._pubsub_connection.send_pb_retract('', xmpp.NS_ACTIVITY, '0')
def send_mood(self, mood, message=None):
@ -564,7 +564,7 @@ class ConnectionPEP(object):
if not self.pep_supported:
return
self.send_mood(None)
# not all server support new XEP, so we still retract
# not all client support new XEP, so we still retract
self._pubsub_connection.send_pb_retract('', xmpp.NS_MOOD, '0')
def send_tune(self, artist='', title='', source='', track=0, length=0,
@ -595,7 +595,7 @@ class ConnectionPEP(object):
if not self.pep_supported:
return
self.send_tune(None)
# not all server support new XEP, so we still retract
# not all client support new XEP, so we still retract
self._pubsub_connection.send_pb_retract('', xmpp.NS_TUNE, '0')
def send_nickname(self, nick):
@ -609,7 +609,7 @@ class ConnectionPEP(object):
if not self.pep_supported:
return
self.send_nickname(None)
# not all server support new XEP, so we still retract
# not all client support new XEP, so we still retract
self._pubsub_connection.send_pb_retract('', xmpp.NS_NICK, '0')
def send_location(self, info):
@ -626,7 +626,7 @@ class ConnectionPEP(object):
if not self.pep_supported:
return
self.send_location({})
# not all server support new XEP, so we still retract
# not all client support new XEP, so we still retract
self._pubsub_connection.send_pb_retract('', xmpp.NS_LOCATION, '0')
# vim: se ts=3: