mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 13:35:42 +09:00
fix(read-state): keep a failed ack dispatch from failing acks (#2350)
This commit is contained in:
1 parent
4f48e04cad
commit
bea4a6dcbc
1 file changed
+6
@@ -46,6 +46,12 @@ export class ReadStateService {
|
|||||||
mentionCount: readState.mentionCount,
|
mentionCount: readState.mentionCount,
|
||||||
manual,
|
manual,
|
||||||
version: readState.version,
|
version: readState.version,
|
||||||
|
}).catch((error) => {
|
||||||
|
Logger.error(
|
||||||
|
{userId: userId.toString(), channelId: channelId.toString(), error},
|
||||||
|
'Failed to dispatch MESSAGE_ACK',
|
||||||
|
);
|
||||||
|
return null;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return readState;
|
return readState;
|
||||||
|
|||||||
Reference in new issue
Block a user