Merge pull request #732 from xiewoc/master

Update aiocqhttp_platform_adapter.py
This commit is contained in:
Soulter
2025-03-09 12:36:48 +08:00
committed by GitHub
@@ -140,7 +140,7 @@ class AiocqhttpAdapter(Platform):
abm.type = MessageType.FRIEND_MESSAGE
if self.unique_session and abm.type == MessageType.GROUP_MESSAGE:
abm.session_id = (
abm.sender.user_id + "_" + str(event.group_id)
str(abm.sender.user_id) + "_" + str(event.group_id)
) # 也保留群组 id
else:
abm.session_id = (