Fix acking messages to correct channel
This commit is contained in:
1 parent
6bb4d112a0
commit
bd92905ee4
1 file changed
+1
-1
@@ -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