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

flip_conv_id empty #48

Open
notpushkin opened this issue Feb 15, 2020 · 0 comments
Open

flip_conv_id empty #48

notpushkin opened this issue Feb 15, 2020 · 0 comments

Comments

@notpushkin
Copy link

notpushkin commented Feb 15, 2020

Here's my simple handler class:

class Handler:
    async def __call__(self, bot, event):
        if event.msg.content.type_name == chat1.MessageTypeStrings.FLIP.value:
            print(event.msg.content, flush=1)

And this is what it prints out (formatting my own):

MsgContent(type_name='flip',
    text=None,
    attachment=None,
    edit=None,
    reaction=None,
    delete=None,
    metadata=None,
    headline=None,
    attachment_uploaded=None,
    system=None,
    send_payment=None,
    request_payment=None,
    unfurl=None,
    flip=MsgFlipContent(
        text='gqF2AaJ2MYKkYm9keYKmcmV2ZWFsgqNjY2jEIKTHVHrHQJtd85tM4MELrONjgBXuaB3PsIIdgRZcA7ddpnNlY3JldMQgduj/lmQiq2dmbcWCXJIzSjD9f6HXVb9YANbGbuC26VShdASibWSDrmNvbnZlcnNhdGlvbklExCAAAD3GsBhtlbdws7qRZMGtu622IrxZ4oI1kcznobh57qZnYW1lSUTEDHppaPupROHnFP9A8Klpbml0aWF0b3KCoWTEEH+L21NwNBEjt89tNLzmoBihdcQQlWMS5SCyN0fr1Ncg52mqAA==',
        game_id='7a6968fba944e1e714ff40f0',
        flip_conv_id='',
        user_mentions=None,
        team_mentions=None
    )
)

Note that flip_conv_id is an empty string here, thus we're unable to properly call loadflip later. It is however available in API directly (i. e. when calling keybase chat api-listen, it appears as intended). Any idea how to deal with that?

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

No branches or pull requests

1 participant