parent
2911274ab6
commit
02b45a233e
|
@ -57,7 +57,8 @@ from yowsup.layers.protocol_contacts import YowContactsIqProtocolLayer
|
||||||
from yowsup.layers.protocol_chatstate import YowChatstateProtocolLayer
|
from yowsup.layers.protocol_chatstate import YowChatstateProtocolLayer
|
||||||
from yowsup.layers.protocol_privacy import YowPrivacyProtocolLayer
|
from yowsup.layers.protocol_privacy import YowPrivacyProtocolLayer
|
||||||
from yowsup.layers.protocol_profiles import YowProfilesProtocolLayer
|
from yowsup.layers.protocol_profiles import YowProfilesProtocolLayer
|
||||||
from yowsup.layers.protocol_calls import YowCallsProtocolLayer
|
from yowsup.layers.protocol_calls import YowCallsProtocolLayer
|
||||||
|
from yowsup.layers.axolotl.props import PROP_IDENTITY_AUTOTRUST
|
||||||
|
|
||||||
# ProtocolEntities
|
# ProtocolEntities
|
||||||
|
|
||||||
|
@ -136,6 +137,7 @@ class YowsupApp(object):
|
||||||
"""
|
"""
|
||||||
self.stack.setProp(YowAuthenticationProtocolLayer.PROP_CREDENTIALS,
|
self.stack.setProp(YowAuthenticationProtocolLayer.PROP_CREDENTIALS,
|
||||||
(username, password))
|
(username, password))
|
||||||
|
self.stack.setProp(PROP_IDENTITY_AUTOTRUST, True)
|
||||||
# self.stack.setProp(YowIqProtocolLayer.PROP_PING_INTERVAL, 5)
|
# self.stack.setProp(YowIqProtocolLayer.PROP_PING_INTERVAL, 5)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue