Skip to content

Commit

Permalink
fix: add thread ID to batch key
Browse files Browse the repository at this point in the history
  • Loading branch information
Snazzah committed Jan 21, 2025
1 parent ba5e257 commit 2570db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/webhookData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ export default class WebhookData {
};

if (this.webhook.style === 'compact') {
const batchKey = `compact:${this.model.id}:${this.webhook.webhookID}`;
const batchKey = `compact:${this.model.id}:${this.webhook.webhookID}:${this.webhook.threadID ?? '-'}`;
const compactLine = `\`${this.isChildAction() ? COMPACT_EMOJIS.CHILD : COMPACT_EMOJIS[this.filterFlag.split('_')[0]]}\` ${
embedStyles.small.description
}`;
Expand Down

0 comments on commit 2570db4

Please sign in to comment.