just some cleanups and ideas in hanez.json

This commit is contained in:
Johannes Findeisen 2013-09-19 21:12:03 +02:00
commit 134bdf39a4
4 changed files with 12 additions and 14 deletions

View file

@ -22,7 +22,7 @@ class JabberTask(Task):
client.connect(server=('systemchaos.org', 5222))
client.auth('linspector', 'PASSWORD', 'alert')
client.sendInitPresence()
message = xmpp.Message('hanez@systemchaos.org', msg)
message = xmpp.Message(self.recipient, msg)
message.setAttr('type', 'chat')
client.send(message)