botinabox 1.9.1 → 1.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1695,9 +1695,8 @@ var ChatPipeline = class {
1695
1695
  if (msg.channel !== this.channel) return;
1696
1696
  if (this.messageFilter && !this.messageFilter(msg)) return;
1697
1697
  if (await this.isDuplicate(msg)) return;
1698
- const rawTs = msg.raw?.ts;
1699
1698
  const channelId = msg.account ?? "";
1700
- const threadTs = msg.threadId ?? channelId ?? rawTs ?? msg.id;
1699
+ const threadTs = channelId || msg.threadId || msg.id;
1701
1700
  if (threadTs && channelId) {
1702
1701
  this.threadChannelMap.set(threadTs, channelId);
1703
1702
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "botinabox",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "Bot in a Box — framework for building multi-agent bots",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",