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 object no longer has "membership" key #317

Open
rht opened this issue Aug 8, 2020 · 0 comments
Open

Event object no longer has "membership" key #317

rht opened this issue Aug 8, 2020 · 0 comments

Comments

@rht
Copy link

rht commented Aug 8, 2020

First reported at zulip/python-zulip-api#612. For example, code like

if event['membership'] == "join":
no longer works.

The list of keys of the event object as of now:
['unsigned', 'origin_server_ts', 'type', 'room_id', 'content', 'sender', 'event_id'].

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