Fix login
This commit is contained in:
parent
a1b8cf0ca9
commit
324acb80fd
|
@ -109,12 +109,6 @@ class YowsupApp(object):
|
||||||
"""
|
"""
|
||||||
self.stack.setProp(YowAuthenticationProtocolLayer.PROP_CREDENTIALS,
|
self.stack.setProp(YowAuthenticationProtocolLayer.PROP_CREDENTIALS,
|
||||||
(username, password))
|
(username, password))
|
||||||
self.stack.setProp(YowNetworkLayer.PROP_ENDPOINT,
|
|
||||||
YowConstants.ENDPOINTS[0])
|
|
||||||
self.stack.setProp(YowCoderLayer.PROP_DOMAIN,
|
|
||||||
YowConstants.DOMAIN)
|
|
||||||
self.stack.setProp(YowCoderLayer.PROP_RESOURCE,
|
|
||||||
env.CURRENT_ENV.getResource())
|
|
||||||
# self.stack.setProp(YowIqProtocolLayer.PROP_PING_INTERVAL, 5)
|
# self.stack.setProp(YowIqProtocolLayer.PROP_PING_INTERVAL, 5)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue