From 28f34bea6d2404d84b66c47c0fa84116e91e42e9 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Fri, 20 Jan 2023 04:22:21 +0100 Subject: [PATCH] Fix threading --- src/Postbuilder.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Postbuilder.ts b/src/Postbuilder.ts index 909236d..192f1a7 100644 --- a/src/Postbuilder.ts +++ b/src/Postbuilder.ts @@ -299,6 +299,7 @@ export class Postbuilder { } lastPostId = (await this._poster.writeMessage(toSend.join("\n"), { + inReplyToId: lastPostId, mediaIds: await imageUploader.attemptToUpload(4), spoilerText: this._config.contentWarning })).id