Explicitly allow cancelled notifications without any capability
This commit is contained in:
parent
15bd2dc7aa
commit
1451d0ea24
2 changed files with 8 additions and 0 deletions
|
|
@ -244,6 +244,10 @@ export class Client<
|
|||
// No specific capability required for initialized
|
||||
break;
|
||||
|
||||
case "notifications/cancelled":
|
||||
// Cancellation notifications are always allowed
|
||||
break;
|
||||
|
||||
case "notifications/progress":
|
||||
// Progress notifications are always allowed
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -157,6 +157,10 @@ export class Server<
|
|||
}
|
||||
break;
|
||||
|
||||
case "notifications/cancelled":
|
||||
// Cancellation notifications are always allowed
|
||||
break;
|
||||
|
||||
case "notifications/progress":
|
||||
// Progress notifications are always allowed
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue