mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 07:24:32 +00:00
fix: preserve off-mode semantics in auto reply threading (#14976) (thanks @Diaspar4u)
This commit is contained in:
@@ -100,10 +100,12 @@ export function createBlockReplyCoalescer(params: {
|
||||
return;
|
||||
}
|
||||
|
||||
if (
|
||||
const replyToConflict = Boolean(
|
||||
bufferText &&
|
||||
(bufferReplyToId !== payload.replyToId || bufferAudioAsVoice !== payload.audioAsVoice)
|
||||
) {
|
||||
payload.replyToId &&
|
||||
(!bufferReplyToId || bufferReplyToId !== payload.replyToId),
|
||||
);
|
||||
if (bufferText && (replyToConflict || bufferAudioAsVoice !== payload.audioAsVoice)) {
|
||||
void flush({ force: true });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user