ShyykoSerhiy/skyweb

Adding bot to existing group causes message callback to not fire

HoboKristian opened this issue · 6 comments

Steps:

  • Add the bot to an existing group (~12 members).
  • Write something (as another user)
    Expected: messagesCallback is called.
    Result: Callback is never called and this results in the message getting "ignored".

The bot will se the group chat in the Skype.app (v7.10) but not on web.skype.com som this might be due to a bug on Microsofts side.

Do you receive messages from this group on web.skype.com?

Also you can try to place debug point on https://github.com/ShyykoSerhiy/skyweb/blob/master/dist/poll.js#L31
to see if it no being filtered out (and you probably would like to comment out everything except '/v1/users/ME/conversations/ALL/messages' here https://github.com/ShyykoSerhiy/skyweb/blob/master/dist/login.js#L118 or you'll be getting a lot of noise 'messages').

I do not recieve messages from the group on web.skype.com but I do recieve them in the client. I tried placing the debug points you pointed out but that part of the code was never reached. It feels like Skypes Web API doesn't realise that the user is added to the group. Which is probably a bug on their side.

Found this related issue: http://community.skype.com/t5/Skype-for-Web-Beta/Group-chats-missing-on-skype-web/td-p/3884218

The groups that does not show up is using the older type of P2P. These groups does not work with the Skype Web API and therefore not with Skyweb. Maybe add this to the disclaimer?

Good. Hopefully it will save someone for the hours of debugging I just did ^^

o-nix commented

😿