juanghurtado / mrboti

A Ruby script that connects to GoogleTalk/XMPP Server using a Gmail account and responds to remote commands messages
0 stars 0 forks source link

Bot sends messages to itself #1

Closed juanghurtado closed 11 years ago

juanghurtado commented 13 years ago

Under some circumstances (after a long query such us github commits rails/rails 10), bot sends messages to itself instead of sending them to the user. This leads to a series of Cleverbot responses due to "commands not found".

juanghurtado commented 13 years ago

I've found that this happens when weird characters appears on messages sent to the user (for example at this commit of José Valim on Rails repo: his name comes like José Valim).

I think it is an error with a parser on xmpp4r. I'll take a look to see if it can be fixed in any way.