koishi-plugin-share-links-analysis 0.6.0 → 0.6.1

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/lib/utils.js +1 -1
  2. package/package.json +1 -1
package/lib/utils.js CHANGED
@@ -271,7 +271,7 @@ async function tryGetRequestForSize(url, proxy, userAgent, logger) {
271
271
  });
272
272
  }
273
273
  async function getEffectiveSettings(ctx, guildId, config) {
274
- if (guildId !== undefined) {
274
+ if (guildId == undefined) {
275
275
  return {
276
276
  parsers: config.default_parsers,
277
277
  nsfw: config.allow_sensitive
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "koishi-plugin-share-links-analysis",
3
3
  "description": "自用插件",
4
4
  "license": "MIT",
5
- "version": "0.6.0",
5
+ "version": "0.6.1",
6
6
  "main": "lib/index.js",
7
7
  "typings": "lib/index.d.ts",
8
8
  "files": [