Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

Commit

Permalink
Don't transmit from IQHandlerMixins.
Browse files Browse the repository at this point in the history
  • Loading branch information
dustin committed May 31, 2009
1 parent ed2937a commit cef3809
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/twitterspy/xmpp_ping.py
Expand Up @@ -26,13 +26,8 @@ def connectionInitialized(self):
super(PingHandler, self).connectionInitialized()
self.xmlstream.addObserver(PING, self.handleRequest)

def sendPingResponse(self, iq):
response = toResponse(iq, "result")
self.send(response)

def onPing(self, iq):
log.msg("Got ping from %s" % iq.getAttribute("from"))
self.sendPingResponse(iq)

def getDiscoInfo(self, requestor, target, node):
info = set()
Expand Down

0 comments on commit cef3809

Please sign in to comment.