fix(feishu): restore reaction-event no-op handlers dropped by an over-eager dedup revert

This commit is contained in:
matevip 2026-05-16 17:39:19 +08:00
parent fb2f847c81
commit 033854a3ff

View File

@ -221,6 +221,15 @@ public class FeishuChannelAdapter extends AbstractChannelAdapter {
}
}
})
// Silently ignore message reaction events to avoid HandlerNotFoundException
.onP2MessageReactionCreatedV1(new ImService.P2MessageReactionCreatedV1Handler() {
@Override
public void handle(com.lark.oapi.service.im.v1.model.P2MessageReactionCreatedV1 event) {}
})
.onP2MessageReactionDeletedV1(new ImService.P2MessageReactionDeletedV1Handler() {
@Override
public void handle(com.lark.oapi.service.im.v1.model.P2MessageReactionDeletedV1 event) {}
})
.build();
return new com.lark.oapi.ws.Client.Builder(appId, appSecret)