fb-chat-api-temp icon indicating copy to clipboard operation
fb-chat-api-temp copied to clipboard

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

Open kenny59 opened this issue 1 year ago • 1 comments

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.

kenny59 avatar Sep 02 '23 22:09 kenny59

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

miruchigawa avatar Oct 25 '23 08:10 miruchigawa