Commit 16bb1be5 authored by Derek DeMoro's avatar Derek DeMoro Committed by derek

Fixed class cast exception.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@189 b35dd754-fafc-0310-a699-88a17e54d16e
parent 83a04188
......@@ -89,7 +89,8 @@ public class PresenceSubscribeHandler extends BasicModule implements ChannelHand
manageSub(senderJID, false, type, roster);
}
if (chatbotManager.isChatbot(recipientJID)) {
routingTable.getRoute(recipientJID).process((IQ)presence.createDeepCopy());
RoutableChannelHandler route = routingTable.getRoute(recipientJID);
route.process((XMPPPacket)presence.createDeepCopy());
}
else {
try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment