mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-24 23:20:09 +08:00
Remove senseless response
This commit is contained in:
parent
aa553ebb75
commit
7efb7834db
@ -408,8 +408,6 @@ internal abstract class QQAndroidBotBase constructor(
|
|||||||
when (response) {
|
when (response) {
|
||||||
is MultiMsg.ApplyUp.Response.MessageTooLarge ->
|
is MultiMsg.ApplyUp.Response.MessageTooLarge ->
|
||||||
error("message is too large")
|
error("message is too large")
|
||||||
is MultiMsg.ApplyUp.Response.OK -> {
|
|
||||||
resId = response.resId
|
|
||||||
}
|
}
|
||||||
is MultiMsg.ApplyUp.Response.RequireUpload -> {
|
is MultiMsg.ApplyUp.Response.RequireUpload -> {
|
||||||
resId = response.proto.msgResid
|
resId = response.proto.msgResid
|
||||||
|
@ -170,10 +170,6 @@ internal class MultiMsg {
|
|||||||
}
|
}
|
||||||
|
|
||||||
object MessageTooLarge : Response()
|
object MessageTooLarge : Response()
|
||||||
|
|
||||||
data class OK(
|
|
||||||
val resId: String
|
|
||||||
) : Response()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// captured from group
|
// captured from group
|
||||||
|
Loading…
Reference in New Issue
Block a user