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

Mqtt client 'offline' callback and fix small issue in getMessage method #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kenny59
Copy link
Contributor

@kenny59 kenny59 commented Sep 2, 2023

My bot was not responding after (each day after 5-8 hours of running) a while and it turns out that I was getting 'offline' callback from mqtt client, which fb-chat-api is not subscribed to.
I could not replicate it by unplugging any cables or disconnecting from internet, so it is most likely something that comes from Facebook itself.
Bumping mqtt client was not neccessary in the end, but it should contain some under the hood fixes that should make it more reliable.

Also this contains a small fix that fixes getMessage when requesting a message that contains attachment.

@miruchigawa
Copy link

This is what I've been looking for all this time

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