zalo_bot 1.0.3 → 1.0.4

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/package.json +1 -1
  2. package/src/monitor.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zalo_bot",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "OpenClaw Zalo channel plugin (Bot API) — patched fork with photo_url and image+caption fixes",
5
5
  "type": "module",
6
6
  "dependencies": {
package/src/monitor.ts CHANGED
@@ -357,7 +357,7 @@ async function processMessageWithPipeline(params: {
357
357
  configuredAllowFrom: configAllowFrom,
358
358
  senderId,
359
359
  isSenderAllowed: isZaloSenderAllowed,
360
- readAllowFromStore: () => core.channel.pairing.readAllowFromStore("zalo_bot"),
360
+ readAllowFromStore: () => core.channel.pairing.readAllowFromStore("zalo_bot", account.accountId),
361
361
  shouldComputeCommandAuthorized: (body, cfg) =>
362
362
  core.channel.commands.shouldComputeCommandAuthorized(body, cfg),
363
363
  resolveCommandAuthorizedFromAuthorizers: (params) =>