添加对接第三方敏感词处理方法

This commit is contained in:
heavyrain2012
2021-02-14 12:30:40 +08:00
parent a973a731e4
commit 6466218836
8 changed files with 189 additions and 20 deletions
@@ -204,8 +204,9 @@ abstract public class IMHandler<T> {
errorCode = ErrorCode.ERROR_CODE_SERVER_ERROR;
}
}
response(ackPayload, errorCode, callback);
if(errorCode != ErrorCode.INVALID_ASYNC_HANDLING) {
response(ackPayload, errorCode, callback);
}
} else {
LOG.error("Handler {} preAction failure", this.getClass().getName());
ByteBuf ackPayload = Unpooled.buffer(1);