Skip to content

Commit 1d8a064

Browse files
authored
Merge pull request #317 from simple-robot/dev/fix-307
修复 QGFriend 错误的ID引用
2 parents 1c9fa68 + eeb6d86 commit 1d8a064

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

simbot-component-qq-guild-core/src/commonMain/kotlin/love/forte/simbot/component/qguild/internal/forum/QGForumsImpl.kt

Lines changed: 0 additions & 16 deletions
This file was deleted.

simbot-component-qq-guild-core/src/commonMain/kotlin/love/forte/simbot/component/qguild/internal/friend/QGFriendImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ internal fun C2CMessageCreate.Data.toFriend(
154154
): QGFriendImpl =
155155
QGFriendImpl(
156156
bot = bot,
157-
id = id.ID,
157+
id = author.userOpenid.ID,
158158
eventId = null,
159159
sourceEvent = this,
160160
msgSeq = seq

0 commit comments

Comments
 (0)