@@ -254,8 +254,6 @@ function withSlackSendOverride(params: {
254254 deps ?: { [ channelId : string ] : unknown } | null ;
255255 send : SlackSendFn ;
256256 tokenOverride ?: string ;
257- deliveryQueueId ?: string ;
258- onPlatformSendDispatch ?: ( ) => Promise < void > ;
259257} ) {
260258 return {
261259 ...params . deps ,
@@ -267,10 +265,6 @@ function withSlackSendOverride(params: {
267265 await params . send ( to , text , {
268266 ...opts ,
269267 ...( params . tokenOverride ? { token : params . tokenOverride } : { } ) ,
270- ...( params . deliveryQueueId ? { deliveryQueueId : params . deliveryQueueId } : { } ) ,
271- ...( params . onPlatformSendDispatch
272- ? { onPlatformSendDispatch : params . onPlatformSendDispatch }
273- : { } ) ,
274268 } ) ,
275269 } ;
276270}
@@ -531,7 +525,6 @@ const slackChannelOutbound: ChannelOutboundAdapter = {
531525 replyToId : threadTsValue ,
532526 threadId : null ,
533527 deliveryQueueId : undefined ,
534- onPlatformSendDispatch : undefined ,
535528 deps : withSlackSendOverride ( {
536529 deps : ctx . deps ,
537530 send,
@@ -554,14 +547,10 @@ const slackChannelOutbound: ChannelOutboundAdapter = {
554547 to,
555548 replyToId : threadTsValue ,
556549 threadId : null ,
557- deliveryQueueId : undefined ,
558- onPlatformSendDispatch : undefined ,
559550 deps : withSlackSendOverride ( {
560551 deps : ctx . deps ,
561552 send,
562553 tokenOverride,
563- deliveryQueueId : ctx . deliveryQueueId ,
564- onPlatformSendDispatch : ctx . onPlatformSendDispatch ,
565554 } ) ,
566555 } ) ;
567556 } ,
@@ -581,12 +570,10 @@ const slackChannelOutbound: ChannelOutboundAdapter = {
581570 replyToId : threadTsValue ,
582571 threadId : null ,
583572 deliveryQueueId : undefined ,
584- onPlatformSendDispatch : undefined ,
585573 deps : withSlackSendOverride ( {
586574 deps : ctx . deps ,
587575 send,
588576 tokenOverride,
589- onPlatformSendDispatch : ctx . onPlatformSendDispatch ,
590577 } ) ,
591578 } ) ;
592579 } ,
0 commit comments