Skip to content

Instantly share code, notes, and snippets.

@legastero
Created May 22, 2010 13:00
Show Gist options
  • Select an option

  • Save legastero/410058 to your computer and use it in GitHub Desktop.

Select an option

Save legastero/410058 to your computer and use it in GitHub Desktop.
Changes needed to make XMPP-TDG example 2-2 work with SleekXMPP version 1.0
def handleIncomingMessage(self, message):
self.xmpp.sendMessage(message["from"], message["body"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment