File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -202,6 +202,9 @@ const sendAck = () => {
202202 try {
203203 const distributionID = props .body .distributionID ;
204204 const senderID = props .body .senderID ;
205+ if (getMessageType ({ body: props .body }) !== ' message' ) {
206+ return ;
207+ }
205208 if (senderID .includes (INTERNAL_HUB_USER )) {
206209 console .warn (` Ack not sent: ${ INTERNAL_HUB_USER } is not a valid client` );
207210 return ;
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ export default {
6767 if ( this . autoAck ) {
6868 // Send back acks automatically to received messages
6969 if (
70- getMessageType ( message ) !== 'ack ' &&
70+ getMessageType ( message ) === 'message ' &&
7171 message . routingKey . startsWith ( this . store . user . clientId )
7272 ) {
7373 const msg = buildAck ( {
You can’t perform that action at this time.
0 commit comments