sfc-gh-ncover commented on code in PR #9713:
URL: https://github.com/apache/nifi/pull/9713#discussion_r1951467128
##########
nifi-extension-bundles/nifi-slack-bundle/nifi-slack-processors/src/main/java/org/apache/nifi/processors/slack/ListenSlack.java:
##########
@@ -183,8 +187,11 @@ public void establishWebsocketEndpoint(final
ProcessContext context) throws Exce
// Register the event types that make sense
if
(context.getProperty(EVENT_TYPE).getValue().equals(RECEIVE_MESSAGE_EVENTS.getValue()))
{
slackApp.event(MessageEvent.class, this::handleEvent);
+ slackApp.event(MessageChangedEvent.class, this::handleEvent);
slackApp.event(MessageFileShareEvent.class, this::handleEvent);
slackApp.event(FileSharedEvent.class, this::handleEvent);
+ slackApp.event(FileChangeEvent.class, this::handleEvent);
+ slackApp.event(ReactionAddedEvent.class, this::handleEvent);
Review Comment:
Thanks for the feedback, agreed. I have added the additional event types
##########
nifi-extension-bundles/nifi-slack-bundle/nifi-slack-processors/src/main/java/org/apache/nifi/processors/slack/ListenSlack.java:
##########
@@ -183,8 +187,11 @@ public void establishWebsocketEndpoint(final
ProcessContext context) throws Exce
// Register the event types that make sense
if
(context.getProperty(EVENT_TYPE).getValue().equals(RECEIVE_MESSAGE_EVENTS.getValue()))
{
slackApp.event(MessageEvent.class, this::handleEvent);
+ slackApp.event(MessageChangedEvent.class, this::handleEvent);
slackApp.event(MessageFileShareEvent.class, this::handleEvent);
slackApp.event(FileSharedEvent.class, this::handleEvent);
+ slackApp.event(FileChangeEvent.class, this::handleEvent);
+ slackApp.event(ReactionAddedEvent.class, this::handleEvent);
Review Comment:
Thanks for the feedback, agreed. I have added the additional event types
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]