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

bugfix: boxes: Ensure self-message recipient_ids are a list. #906

Merged

Conversation

neiljp
Copy link
Collaborator

@neiljp neiljp commented Feb 2, 2021

Setting the type of the input model in MessageBox initializer correctly should ensure that this is picked up in future by mypy.

@prah23 I noticed this issue when reviewing #877 and isolated it to being a separate issue.

One deeper optimization we could make is not to send the typing status if it's a self-message, but it seems to be OK right now.

@neiljp neiljp added the PR ready to be merged PR has been reviewed & is ready to be merged label Feb 2, 2021
@zulipbot zulipbot added the size: S [Automatic label added by zulipbot] label Feb 2, 2021
@neiljp neiljp added this to the Next Release milestone Feb 2, 2021
Setting the type of the input model in MessageBox initializer correctly
should ensure that this is picked up in future by mypy.
@neiljp neiljp force-pushed the 2021-02-02-ensure-self-messages-are-a-list branch from 21f6e2b to 40e8047 Compare February 2, 2021 20:51
@neiljp neiljp added the bug Something isn't working label Feb 2, 2021
@neiljp neiljp merged commit 3fe63b0 into zulip:main Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working PR ready to be merged PR has been reviewed & is ready to be merged size: S [Automatic label added by zulipbot]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants