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

Don't set conversation.obj_ids since it can be missing data #1877

Merged
merged 2 commits into from
May 21, 2022

Conversation

LilSpazJoekp
Copy link
Member

Fixes #1870

Feature Summary and Justification

This prevents conversation.obj_ids from being set when it doesn't have all the object ids. This also sets conversation.messages if num_messages is 1.

@LilSpazJoekp LilSpazJoekp added the Feature New feature or request label May 21, 2022
Copy link

@dequeued0 dequeued0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks about right to me.

praw/objector.py Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

modmail conversation messages list only includes the most recent message
2 participants