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

Event type "IncomingReaction" missing in deltachat_rpc_client.const.EventType #6349

Open
joonis opened this issue Dec 19, 2024 · 0 comments · May be fixed by #6361
Open

Event type "IncomingReaction" missing in deltachat_rpc_client.const.EventType #6349

joonis opened this issue Dec 19, 2024 · 0 comments · May be fixed by #6361
Assignees
Labels
bug Something is not working

Comments

@joonis
Copy link

joonis commented Dec 19, 2024

Receiving a reaction results in the following exception:
ValueError: 'IncomingReaction' is not a valid EventType

Traceback (most recent call last):
  File ".../deltabot.py", line 395, in <module>
    main(sys.argv)
  File ".../deltabot.py", line 372, in main
    bot.run_forever()
  File ".../lib/python3.12/site-packages/deltachat_rpc_client/client.py", line 92, in run_forever
    self.run_until(lambda _: False)
  File ".../lib/python3.12/site-packages/deltachat_rpc_client/client.py", line 107, in run_until
    event["kind"] = EventType(event.kind)
                    ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/enum.py", line 757, in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/enum.py", line 1171, in __new__
    raise ve_exc
ValueError: 'IncomingReaction' is not a valid EventType

Running deltachat_rpc_client v1.152.1

@iequidoo iequidoo added the bug Something is not working label Dec 20, 2024
@iequidoo iequidoo self-assigned this Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants