# HG changeset patch # User Charly COSTE # Date 1250808369 -7200 # Node ID 9b7a628ca612cf446c3aa48578bd8c52b7e264df # Parent 1691ab4d131f57ec28b0f3fac81614407ca71427 Fixed XMPP message handling, again. Signed-off-by: Charly COSTE diff -r 1691ab4d131f -r 9b7a628ca612 bot.py --- a/bot.py Fri Aug 21 00:25:42 2009 +0200 +++ b/bot.py Fri Aug 21 00:46:09 2009 +0200 @@ -173,7 +173,7 @@ try: from_ = bridge.getParticipant(message.getFrom().getResource()) - to_ = bridge.getParticipant(message.getTo().getResource()) + to_ = bridge.getParticipant(xmpp_c.nickname) if from_.protocol == 'xmpp': from_.sayOnIRCTo(to_.nickname, message.getBody())