just some more core config stuff and disabled xmpp logging

This commit is contained in:
Johannes Findeisen 2013-09-20 02:39:23 +02:00
commit 8583a58223
2 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@ class JabberTask(Task):
def execute(self, msg, core):
#TODO: totally unstable just to use values from core. make checks before...!
client = xmpp.Client(core["tasks"]["jabber"]["host"])
client = xmpp.Client(core["tasks"]["jabber"]["host"], core["tasks"]["jabber"]["port"], None)
client.connect(server=(core["tasks"]["jabber"]["host"], core["tasks"]["jabber"]["port"]))
client.auth(core["tasks"]["jabber"]["username"], core["tasks"]["jabber"]["password"], 'alert')
client.sendInitPresence()