Quan666 / ELF_RSS

QQ机器人 RSS订阅 插件,订阅源建议选择 RSSHub
https://myelf.club/archives/221
GNU General Public License v3.0
556 stars 56 forks source link

合并消息超过10条分段发送时消息错乱 #496

Open benbenlike opened 5 months ago

benbenlike commented 5 months ago

ELF_RSS 、 go-cqhttp 、 nonebot 、 Python 版本及操作系统

ELF_RSS v2.6.22 Python 3.11.7 centos 8

列出安装的 Python 包

aiodns==3.1.1 aiohttp==3.9.3 aiosignal==1.3.1 annotated-types==0.6.0 anyio==3.7.1 APScheduler==3.10.4 arrow==1.3.0 async-timeout==4.0.3 attrs==23.2.0 bbcode==1.1.0 beautifulsoup4==4.12.3 binaryornot==0.4.4 Brotli==1.1.0 cachetools==5.3.3 cashews==6.4.0 certifi==2024.2.2 cffi==1.16.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cookiecutter==2.6.0 cssselect==1.2.0 deep-translator==1.11.4 distlib==0.3.8 emoji==2.11.0 fastapi==0.110.0 feedparser==6.0.11 filelock==3.13.3 frozenlist==1.4.1 h11==0.14.0 httpcore==1.0.5 httptools==0.6.1 httpx==0.27.0 idna==3.6 ImageHash==4.3.1 Jinja2==3.1.3 loguru==0.7.2 lxml==5.1.1 magneturi==1.3 markdown-it-py==3.0.0 MarkupSafe==2.1.5 mdurl==0.1.2 msgpack==1.0.8 multidict==6.0.5 nb-cli==1.4.0 nonebot-adapter-onebot==2.4.3 nonebot-plugin-apscheduler==0.4.0 nonebot-plugin-guild-patch==0.2.3 nonebot2==2.2.1 noneprompt==0.1.9 numpy==1.26.4 PikPakAPI==0.1.6 pillow==10.2.0 platformdirs==4.2.0 prompt-toolkit==3.0.43 pycares==4.4.0 pycparser==2.21 pydantic==2.6.4 pydantic_core==2.16.3 pyfiglet==1.0.2 Pygments==2.17.2 pygtrie==2.5.0 pyquery==2.0.0 python-dateutil==2.9.0.post0 python-dotenv==1.0.1 python-qbittorrent==0.4.3 python-slugify==8.0.4 pytz==2024.1 PyWavelets==1.5.0 PyYAML==6.0.1 requests==2.31.0 rich==13.7.1 scipy==1.12.0 sgmllib3k==1.0.0 six==1.16.0 sniffio==1.3.1 soupsieve==2.5 starlette==0.36.3 tenacity==8.2.3 text-unidecode==1.3 tinydb==4.8.0 tomlkit==0.12.4 types-python-dateutil==2.9.0.20240316 typing_extensions==4.10.0 tzlocal==5.2 urllib3==2.2.1 uvicorn==0.29.0 uvloop==0.19.0 virtualenv==20.25.1 watchfiles==0.21.0 wcwidth==0.2.13 websockets==12.0 yarl==1.9.4

如何复现

设置forward=1,超过10条分段发送时,第二批以及之后的消息发生错乱

期望行为

超过10条分段发送时消息正确

实际行为

image image 清空时连等导致messages和items使用相同地址,第二批分段及之后发送的消息会错乱,变成items的内容

Quan666 commented 5 months ago

你可以尝试修复一下,我现在已经没有使用QQbot了