Element root = XMLHelper.build(response.getBody().toSendString());
Element error = XMLHelper.find(root, "/results/error");
if(error!=null) {
String reason = error.getAttributeValue("reason");
if("receiver is in the BlackList of sender".equals(reason)) {
return new FailureEvent(FailureType.BUDDY_BLOCKED);
}else {
logger.warn("Uknown SendChatMessage fail reason:"+reason);
return super.doForbidden(response);
}
}else {