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

Make prnouncer work with the new inline threads #20

Closed
wants to merge 1 commit into from

Conversation

AshCorr
Copy link
Member

@AshCorr AshCorr commented Jan 9, 2024

What does this change?

Google has started rolling out Inline threads to all spaces which currently breaks prnouncers ability to create threads.

image

This PR fixes prnouncers ability to create threads by adding a messageReplyOption parameter to the Google chat webhook request which requests a thread be made when prnouncer posts.

How to test

Ran locally with cargo run

image

@adamnfish
Copy link
Contributor

Relevant docs (which helped me verify the change):
https://developers.google.com/chat/api/reference/rest/v1/spaces.messages/create#MessageReplyOption

Copy link
Contributor

@adamnfish adamnfish left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@adamnfish
Copy link
Contributor

This has been rolled into #24, so we'll release them both over there

@adamnfish adamnfish closed this Jan 12, 2024
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