view salut.tac @ 2:77b77f48c975

don't expect queries to specify all the fields
author souliane <souliane@mailoo.org>
date Thu, 23 Jul 2015 21:05:51 +0200
parents d1bc50b64974
children
line wrap: on
line source

from twisted.application import service
from twisted.words.protocols.jabber import jid
from wokkel.component import Component

from salut import SalutGateway

application = service.Application("Salut directory")

xmppcomponent = Component("necton3.int", 5347, "salut.necton3.int", "pass")
# xmppcomponent.logTraffic = True
salut = SalutGateway()
salut.setHandlerParent(xmppcomponent)
xmppcomponent.setServiceParent(application)