fix(read-state): keep a failed ack dispatch from failing acks (#2350)

This commit is contained in:
Hampus
2026-09-02 17:24:24 +02:00
committed by GitHub
parent 4f48e04cad
commit bea4a6dcbc
@@ -46,6 +46,12 @@ export class ReadStateService {
mentionCount: readState.mentionCount,
manual,
version: readState.version,
}).catch((error) => {
Logger.error(
{userId: userId.toString(), channelId: channelId.toString(), error},
'Failed to dispatch MESSAGE_ACK',
);
return null;
});
}
return readState;