Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

message.text is None #5

Closed
lintangtimur opened this issue Nov 26, 2017 · 4 comments
Closed

message.text is None #5

lintangtimur opened this issue Nov 26, 2017 · 4 comments

Comments

@lintangtimur
Copy link

when i dump op give me this result

#0 object(Operation) (10)
    status => NoneType(None)
    checksum => NoneType(None)
    param3 => NoneType(None)
    param2 => NoneType(None)
    param1 => unicode(1) "0"
    createdTime => long(1511712185926)
    message => object(Message) (12)
        contentType => int(0)
        hasContent => bool(False)
        text => NoneType(None)
        id => unicode(13) "7050489046752"
        to => unicode(33) "c14b6920b17ab40622eddd4178b532212"
        contentPreview => NoneType(None)
        location => NoneType(None)
        deliveredTime => int(0)
        createdTime => long(1511712185884)
        _from => unicode(33) "ua3b2f4575c3ff9d01cafa79f471b8fc7"
        contentMetadata => dict(1)
            ['e2eeVersion'] => unicode(1) "1"
        toType => int(2)
    reqSeq => int(0)
    type => int(26)
    revision => int(46519)
@fadhiilrachman
Copy link
Owner

You should turn off Letter Sealing on LINE app.
Go to Settings -> Privacy -> Letter Sealing

@lintangtimur
Copy link
Author

thanks its worked

@doodspav
Copy link
Contributor

doodspav commented Feb 7, 2018

just want to add, you can turn it off in the script like so
client = LINE()
#client = LINE('authToken')
client.log("authToken: " + str(client.authToken))
tracer = OEPoll(client)
profile = client.getProfile()
settings = client.getSettings()
if settings.e2eeEnable == True:
settings.e2eeEnable == False
client.updateSettings(settings)

@lintangtimur
Copy link
Author

settings.e2eeEnable == False
# or
settings.e2eeEnable = False

@doodspav

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants