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

fix OneBot V11 通知类事件某些情况会无法回复问题 #621 #642

Merged
merged 1 commit into from
Feb 28, 2025

Conversation

CAICAIIs
Copy link
Contributor

修复了 #621

Motivation

OneBot V11 通知类事件某些情况会无法回复问题

astrbot/core/platform/sources/aiocqhttp/aiocqhttp_platform_adapter.py 中:
async def convert_handle_notice_event(self, event: Event) -> AstrBotMessage:
出错行:abm.session_id = abm.sender.user_id + "" + str(event.group_id)

Modifications

将出错行改为abm.session_id = str(abm.sender.user_id) + "_" + str(event.group_id)

@Soulter Soulter merged commit 245e5e7 into Soulter:master Feb 28, 2025
3 checks passed
@Soulter Soulter changed the title fix bug #621 fix OneBot V11 通知类事件某些情况会无法回复问题 #621 Feb 28, 2025
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