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 bug in retrieving replyTo messages and added flag to retrieve entire reply chain #37

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

jimpo26
Copy link
Contributor

@jimpo26 jimpo26 commented Nov 18, 2023

In the dispatcher/dispatcher.go file, we can't start a goroutine because in that case the resulting update object will return BEFORE the replied message got fetched, so I called the method handleUpdateRepliedToMessage synchronously.
while I was working on it, I also added a new flag to options type (FetchEntireReplyChain) to fetch the entire message reply chain instead of only the last replied message

@celestix celestix merged commit 4ef5c23 into celestix:beta Nov 21, 2023
@celestix
Copy link
Owner

Good catch, Thank you for the PR!

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