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