-
-
Notifications
You must be signed in to change notification settings - Fork 465
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
Add thread
attribute to Message
class
#850
Add thread
attribute to Message
class
#850
Conversation
I would make the updating of the thread match the various |
Reminder: |
Co-authored-by: Lala Sabathil <aiko@aitsys.dev>
Yes, I know. But this PR might be merged before 2.1 version release. |
I think we can include this in 2.0 since threads have been added in 2.0 too. |
Please resolve conflicts. Thanks! |
Resolved merge conflicts. |
Should this update a cached message's thread when a thread create/update event is received? |
I would say yes |
Summary
Added
thread
attribute to theMessage
class. It returns the thread which was created from the message.Also then
message.create_thread
is usedmessage.thread
will be automatically updated.Checklist
type: ignore
comments were used, a comment is also left explaining why