mirror of
https://github.com/thsrite/MoviePilot-Plugins.git
synced 2026-03-27 10:05:57 +00:00
fix v2.5.1修复token过期重发未存储userid问题
This commit is contained in:
@@ -28,7 +28,7 @@ MoviePilot三方插件市场:https://github.com/thsrite/MoviePilot-Plugins/
|
||||
- [短剧刮削 v3.2](docs%2FShortPlayMonitor.md)
|
||||
- 云盘实时监控 v2.1
|
||||
- 源文件恢复 v1.2
|
||||
- [微信消息转发 v2.5](docs%2FWeChatForward.md)
|
||||
- [微信消息转发 v2.5.1](docs%2FWeChatForward.md)
|
||||
- 订阅下载统计 v1.5
|
||||
- [自定义命令 v1.7](docs%2FCustomCommand.md)
|
||||
- docker自定义任务 v1.3
|
||||
|
||||
@@ -285,11 +285,12 @@
|
||||
"name": "微信消息转发",
|
||||
"description": "根据正则转发通知到其他WeChat应用。",
|
||||
"labels": "消息通知",
|
||||
"version": "2.5",
|
||||
"version": "2.5.1",
|
||||
"icon": "Wechat_A.png",
|
||||
"author": "thsrite",
|
||||
"level": 1,
|
||||
"history": {
|
||||
"v2.5.1": "修复token过期重发未存储userid问题",
|
||||
"v2.5": "增强额外消息发送",
|
||||
"v2.4": "修复配置修改后不重建缓存bug",
|
||||
"v2.3": "增加重建缓存,丰富转发历史",
|
||||
|
||||
@@ -21,7 +21,7 @@ class WeChatForward(_PluginBase):
|
||||
# 插件图标
|
||||
plugin_icon = "Wechat_A.png"
|
||||
# 插件版本
|
||||
plugin_version = "2.5"
|
||||
plugin_version = "2.5.1"
|
||||
# 插件作者
|
||||
plugin_author = "thsrite"
|
||||
# 作者主页
|
||||
@@ -759,7 +759,7 @@ class WeChatForward(_PluginBase):
|
||||
f"额外消息 {self.__parse_tv_title(title)} 用户 {user_id} 已订阅,不再发送额外消息。")
|
||||
continue
|
||||
|
||||
logger.info(f"消息用户{user_id} 匹配到目标用户 {extra_userid}")
|
||||
logger.info(f"消息用户 {user_id} 匹配到目标用户 {extra_userid}")
|
||||
|
||||
self.__send_message(title=extra_msg,
|
||||
userid=user_id,
|
||||
@@ -972,7 +972,8 @@ class WeChatForward(_PluginBase):
|
||||
appid=appid,
|
||||
title=title,
|
||||
retry=retry,
|
||||
text=text)
|
||||
text=text,
|
||||
userid=userid)
|
||||
return False
|
||||
elif res is not None:
|
||||
logger.error(
|
||||
|
||||
Reference in New Issue
Block a user