diff --git a/index.ts b/index.ts index cf27dbc..9d11179 100644 --- a/index.ts +++ b/index.ts @@ -455,7 +455,7 @@ async function runPlugin(ctx: any, options: any, dataDir: string) { const responseText = await responsePromise session.outputChars += responseText.length - await matrix.sendReply(context, responseText) + // Step messages already sent by event subscription — no double send } catch (err: any) { log(`Error processing message: ${String(err)}`) const errMsg = err?.response?.error?.message || String(err)