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

Reactions Broken on Channels - Fix Attached #1470

Open
init2null opened this issue Jun 13, 2024 · 0 comments
Open

Reactions Broken on Channels - Fix Attached #1470

init2null opened this issue Jun 13, 2024 · 0 comments
Labels

Comments

@init2null
Copy link

init2null commented Jun 13, 2024

🐞 Bug Report

Telegram Bot errors out when doing a handleGetUpdates ("Call to a member function getChat() on null") after a user reacts to a channel post. Here's the fix.

In DB::insertMessageReactionCount, this line referencing $message_reaction should be this:

if ($chat = $message_reaction_count->getChat()) {

@init2null init2null added the bug label Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant