mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-12 22:10:14 +08:00
Http api fix sendQuoteMessage route name
This commit is contained in:
parent
767e3bbe36
commit
ca0e50a367
@ -54,7 +54,7 @@ fun Application.messageModule() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
miraiVerify<SendDTO>("/quoteMessage") {
|
miraiVerify<SendDTO>("/sendQuoteMessage") {
|
||||||
it.session.messageQueue.quoteCache[it.target]?.apply {
|
it.session.messageQueue.quoteCache[it.target]?.apply {
|
||||||
quoteReply(it.messageChain.toMessageChain(group))
|
quoteReply(it.messageChain.toMessageChain(group))
|
||||||
} ?: throw NoSuchElementException()
|
} ?: throw NoSuchElementException()
|
||||||
|
Loading…
Reference in New Issue
Block a user