mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-13 03:13:41 +08:00
fix(feishu): restore reaction-event no-op handlers dropped by an over-eager dedup revert
This commit is contained in:
parent
fb2f847c81
commit
033854a3ff
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user