Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复与LLOneBot对接时无法发送私聊消息的问题 #119

Merged
merged 2 commits into from
Mar 11, 2024

Conversation

willkyu
Copy link
Contributor

@willkyu willkyu commented Mar 11, 2024

LLOneBot的私聊消息发送接口收到的json中如果存在group_id键就无法发送,OlivOS中的私聊json中会有group_id : -1这个键值对,删除就可以正常发送。

个人原因,测试可能并不全面。

注释掉的这段怕会导致其他的功能出错(但我大概看了一下应该不影响?),以防万一写了只针对私聊(private)的过滤。

@lunzhiPenxil lunzhiPenxil merged commit 8421c54 into OlivOS-Team:main Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants