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

context: inherit incoming message_thread_id by default #745

Merged
merged 2 commits into from
Oct 11, 2024

Conversation

nentenpizza
Copy link
Contributor

These changes will ensure that the bot responds to incoming messages within the same topic when using context.

@nentenpizza nentenpizza changed the title context: make context inherit incoming message_thread_id by default context: inherit incoming message_thread_id by default Oct 9, 2024
context.go Outdated
@@ -424,10 +424,33 @@ func (c *nativeContext) Args() []string {
}

func (c *nativeContext) Send(what interface{}, opts ...interface{}) error {
c.inheritContextOpts(opts)
Copy link
Collaborator

Choose a reason for hiding this comment

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

inheritOpts

@demget demget merged commit 65ca005 into tucnak:v4 Oct 11, 2024
1 check passed
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