Update S40YowsupEnv temporarily

This commit should be removed when yowsup updates.
This commit is contained in:
moyamo 2016-03-23 10:48:19 +02:00
parent 9eae269918
commit f6e2ba94cc

View file

@ -55,9 +55,19 @@ from functools import partial
#from session import MsgIDs #from session import MsgIDs
# Temporary env until yowsup updates
class UpdatedS40YowsupEnv(env.S40YowsupEnv):
_VERSION = "2.13.39"
_OS_NAME= "S40"
_OS_VERSION = "14.26"
_DEVICE_NAME = "302"
_MANUFACTURER = "Nokia"
_TOKEN_STRING = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk{phone}"
_AXOLOTL = True
class YowsupApp(object): class YowsupApp(object):
def __init__(self): def __init__(self):
env.CURRENT_ENV = env.S40YowsupEnv() env.CURRENT_ENV = UpdatedS40YowsupEnv()
layers = (YowsupAppLayer, layers = (YowsupAppLayer,
YowParallelLayer((YowAuthenticationProtocolLayer, YowParallelLayer((YowAuthenticationProtocolLayer,