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

fix: use parameters.isGroup instead of false #3059

Merged

Conversation

joshgummersall
Copy link
Contributor

This should support creating group conversations for channels that
support it.

Fixes #1124

This also refactors the createConversation overload style to list discrete overloads for better documentation. See the following screenshots for how the overloads/JSDoc are interpreted in VSCode:

Screen Shot 2020-11-11 at 2 25 30 PM

Screen Shot 2020-11-11 at 2 25 43 PM

All the remaining changes are a result of code formatting.

@joshgummersall joshgummersall force-pushed the jpg/fix-create-conversation-is-group-param-handling branch from ae38f87 to d5806ee Compare November 12, 2020 17:25
Copy link
Member

@stevengum stevengum left a comment

Choose a reason for hiding this comment

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

Can you add a couple of unit tests for the addition of the Partial<ConversationParameters> overload and the respecting of conversationParameters.isGroup being provided? Otherwise this looks good to go!

@joshgummersall joshgummersall force-pushed the jpg/fix-create-conversation-is-group-param-handling branch from 1073bac to b33a1ee Compare November 12, 2020 20:45
This should support creating group conversations for channels that
support it.

Fixes #1124
@joshgummersall joshgummersall force-pushed the jpg/fix-create-conversation-is-group-param-handling branch from b33a1ee to 66fd99f Compare November 12, 2020 20:48
Copy link
Member

@stevengum stevengum left a comment

Choose a reason for hiding this comment

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

:shipit:

@coveralls
Copy link

Pull Request Test Coverage Report for Build 367178866

  • 5 of 5 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.01%) to 84.786%

Totals Coverage Status
Change from base Build 367178269: -0.01%
Covered Lines: 17306
Relevant Lines: 19491

💛 - Coveralls

@joshgummersall joshgummersall merged commit 51ff295 into main Nov 17, 2020
@joshgummersall joshgummersall deleted the jpg/fix-create-conversation-is-group-param-handling branch November 17, 2020 17:21
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.

BotFrameworkAdapter.createConversation fails to handle group conversation requests
3 participants