We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef6415a commit 161453eCopy full SHA for 161453e
spec-grpc/src/main/java/io/a2a/grpc/utils/ProtoUtils.java
@@ -780,6 +780,9 @@ private static MessageSendConfiguration messageSendConfiguration(io.a2a.grpc.Sen
780
}
781
782
private static PushNotificationConfig pushNotification(io.a2a.grpc.PushNotificationConfig pushNotification, String configId) {
783
+ if (pushNotification == null || pushNotification.getDefaultInstanceForType().equals(pushNotification)) {
784
+ return null;
785
+ }
786
return new PushNotificationConfig(
787
pushNotification.getUrl(),
788
pushNotification.getToken().isEmpty() ? null : pushNotification.getToken(),
0 commit comments