Skip to content

Fix check on conversation size #1820

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

Merged
merged 3 commits into from
Sep 29, 2021

Conversation

pcapriotti
Copy link
Contributor

@pcapriotti pcapriotti commented Sep 29, 2021

Before, we were checking whether the number of people added to a conversation was strictly less than the limit - 1, which was causing conversations with maximum size to be rejected.

This was introduced by the refactoring in #1801.

Checklist

  • The PR Title explains the impact of the change.
  • The PR description provides context as to why the change should occur and what the code contributes to that effect. This could also be a link to a JIRA ticket or a Github issue, if there is one.

Before, we were checking whether the number of people added to a
conversation was strictly less than the limit - 1, which was causing
conversation with maximum size to be rejected.

This was introduced by the refactoring in #1801.
Added a test checking that creating conversations of exactly the size
limit is allowed.
@mdimjasevic
Copy link
Contributor

The test looks good.

@mdimjasevic mdimjasevic merged commit 126a571 into develop Sep 29, 2021
@mdimjasevic mdimjasevic deleted the pcapriotti/fix-conv-size-validation branch September 29, 2021 15:57
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

Successfully merging this pull request may close these issues.

2 participants