opensourcehacker / sevabot

A Skype bot supporting integration with external services
http://sevabot-skype-bot.readthedocs.org/
566 stars 121 forks source link

Missing Chat Messages #68

Open bkmeneguello opened 10 years ago

bkmeneguello commented 10 years ago

Sometimes (after some idle time, or just after service restart) some chat messages are not processed. When I open (via vnc) the fluxbox desktop, there is an info icon of not read messages (with the commands I have sent) on skype.

I've put a listener on 'Notification' events and I see there is no 'CHATMESSAGE', and only one CHAT <bla, bla> ACTIVITY_TIMESTAMP when this happens.

I did some changes to bot.py to listen this notifications and read MissedMessages and removed 'MessageStatus' handler. And that resolves my problem.

Is this a know problem or there is any workaround?

jasonbouffard commented 10 years ago

I think I am seeing similar behavior. If I chat directly with my bot it's clear that it does not receive every message I'm sending.

bkmeneguello commented 10 years ago

I have solved with this changes:

https://github.com/bkmeneguello/sevabot/commit/f783e9849e1856ea812567f9eacc46b50f211a93

On Tue 25 Feb 2014 11:34:32 AM BRT, Jason Bouffard wrote:

I think I am seeing similar behavior. If I chat directly with my bot it's clear that it does not receive every message I'm sending.

— Reply to this email directly or view it on GitHub https://github.com/opensourcehacker/sevabot/issues/68#issuecomment-36012780.

thegogz commented 10 years ago

Have you submitted a pull request for this I have the same issue...

jmandel commented 10 years ago

+1 The code in @bkmeneguello's custom branch fixes this issue for me. I'll propose it in a separate PR.