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

Port: Set TeamsNotifyUser alert to opposite of alert_in_meeting #2185

Merged
merged 3 commits into from
Oct 30, 2024

Conversation

gandiddi
Copy link
Collaborator

Fixes #223

Description

Porting changes from microsoft/botbuilder-dotnet#6136

The logic for teams_notify_user helper method is incorrect. It should set either alertInMeeting to true, or alert to true, but not both.

channel_data.notification = NotificationInfo(alert=True)
channel_data.notification.alert_in_meeting = alert_in_meeting

Specific Changes

  • Set TeamsNotifyUser alert to opposite of alert_in_meeting

Testing

The following image shows the related unit test passing.
image

@gandiddi gandiddi requested a review from a team as a code owner October 30, 2024 13:24
@gandiddi gandiddi requested a review from tracyboehrer October 30, 2024 13:24
@tracyboehrer tracyboehrer merged commit 62d7366 into main Oct 30, 2024
7 checks passed
@tracyboehrer tracyboehrer deleted the v-gandiddi/fixAlertInMeeting branch October 30, 2024 15:16
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