Fix acking messages to correct channel
This commit is contained in:
@@ -34,7 +34,7 @@ export const MessageBar = ({ channelIndex }: MessageBarProps): JSX.Element => {
|
|||||||
true,
|
true,
|
||||||
channelIndex--,
|
channelIndex--,
|
||||||
(id) => {
|
(id) => {
|
||||||
dispatch(ackMessage({ channel: 0, messageId: id }));
|
dispatch(ackMessage({ channel: channelIndex--, messageId: id }));
|
||||||
|
|
||||||
return Promise.resolve();
|
return Promise.resolve();
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user