-
Notifications
You must be signed in to change notification settings - Fork 300
Open
Labels
status: confirmingConfirming whether the issue is a bug or can be a new featureConfirming whether the issue is a bug or can be a new feature
Description
Hi James, I am implementing the push plugin, here is my flow
- push plugin successfully loaded. NotificationPusher#Start( ) breakpoint can be hit.
- change the code below so it will propagate to notifyRelatedUsersOfAction0#afterNotify
default Mono<RequestHandlerResult> beforeNotify(
@NotNull RequestHandlerResult result,
@NotNull Long requesterId,
@NotNull DeviceType requesterDevice) {
return Mono.just(result);
}
- Able to hit the breakpoint in
return mono
.map(offlineRecipientIds -> pluginManager.invokeExtensionPointsSequentially(
RequestHandlerResultHandler.class,
RESULT_AFTER_NOTIFY_METHOD,
result,
-
From debugging ,I can see it goes to PluginManager#invokeExtensionPointsSequentially and everything looks fine , the variable are correct.


-
I expect it will go to the push plugin NotificationPusher#afterNotify( ) but it not able to hit the endpoint I set.
I am using the code provided in official push plugin and my step seems correct, but I wonder why it never invoke the afterNotify( ). Any help is appreciated ~~
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status: confirmingConfirming whether the issue is a bug or can be a new featureConfirming whether the issue is a bug or can be a new feature