mirror of
https://github.com/fluxerapp/fluxer.git
synced 2026-09-02 21:04:06 +03:00
fix(read-state): keep a failed ack dispatch from failing acks (#2350)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user