koishi-plugin-bilibili-notify 1.2.3-rc.4 → 1.2.3-rc.5

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.
package/lib/biliAPI.js CHANGED
@@ -216,8 +216,11 @@ class BiliAPI extends koishi_1.Service {
216
216
  // Get login info from db
217
217
  const { cookies, refresh_token } = await this.getLoginInfoFromDB();
218
218
  // 判断是否有值
219
- if (!cookies || !refresh_token)
219
+ if (!cookies || !refresh_token) {
220
+ // Login info is loaded
221
+ this.loginInfoIsLoaded = true;
220
222
  return;
223
+ }
221
224
  // 定义CSRF Token
222
225
  let csrf;
223
226
  cookies.forEach(cookieData => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-bilibili-notify",
3
3
  "description": "Koishi bilibili notify plugin",
4
- "version": "1.2.3-rc.4",
4
+ "version": "1.2.3-rc.5",
5
5
  "contributors": [
6
6
  "Akokko <admin@akokko.com>"
7
7
  ],
package/readme.md CHANGED
@@ -129,6 +129,7 @@
129
129
  - ver 1.2.3-rc.2 bug测试版本,请跳过
130
130
  - ver 1.2.3-rc.3 bug测试版本,请跳过
131
131
  - ver 1.2.3-rc.4 bug测试版本,请跳过
132
+ - ver 1.2.3-rc.5 修复了第一次使用插件时,扫码登录后没有任何反应,并且仍提示没有登录的bug
132
133
 
133
134
  ## 交流群
134
135