mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-24 15:00:38 +08:00
Fix build
This commit is contained in:
parent
0a2152dc73
commit
51a95da5db
@ -69,7 +69,6 @@ internal class MessageSourceFromFriendImpl(
|
|||||||
onlineSource = false
|
onlineSource = false
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
override val target: Bot get() = bot
|
|
||||||
override val sender: QQ get() = bot.getFriend(msg.msgHead.fromUin)
|
override val sender: QQ get() = bot.getFriend(msg.msgHead.fromUin)
|
||||||
|
|
||||||
private val elems by lazy {
|
private val elems by lazy {
|
||||||
@ -132,7 +131,6 @@ internal class MessageSourceFromTempImpl(
|
|||||||
onlineSource = false
|
onlineSource = false
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
override val target: Bot get() = bot
|
|
||||||
override val sender: Member
|
override val sender: Member
|
||||||
get() = with(msg.msgHead) {
|
get() = with(msg.msgHead) {
|
||||||
bot.getGroup(c2cTmpMsgHead!!.groupUin)[fromUin]
|
bot.getGroup(c2cTmpMsgHead!!.groupUin)[fromUin]
|
||||||
@ -198,7 +196,6 @@ internal class MessageSourceFromGroupImpl(
|
|||||||
onlineSource = false
|
onlineSource = false
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
override val target: Bot get() = bot
|
|
||||||
override val sender: Member
|
override val sender: Member
|
||||||
get() = bot.getGroup(
|
get() = bot.getGroup(
|
||||||
msg.msgHead.groupInfo?.groupCode
|
msg.msgHead.groupInfo?.groupCode
|
||||||
|
Loading…
Reference in New Issue
Block a user