Skip to content

Commit

Permalink
Merge pull request #642 from CAICAIIs/fix_bug
Browse files Browse the repository at this point in the history
fix bug #621
  • Loading branch information
Soulter authored Feb 28, 2025
2 parents b0510e1 + 681bdb5 commit 245e5e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async def _convert_handle_request_event(self, event: Event) -> AstrBotMessage:
else:
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)
abm.session_id = str(abm.sender.user_id) + "_" + str(event.group_id)
abm.message_str = ''
abm.message = []
abm.timestamp = int(time.time())
Expand Down

0 comments on commit 245e5e7

Please sign in to comment.