mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-24 15:00:38 +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) {
|
||||
is MultiMsg.ApplyUp.Response.MessageTooLarge ->
|
||||
error("message is too large")
|
||||
is MultiMsg.ApplyUp.Response.OK -> {
|
||||
resId = response.resId
|
||||
}
|
||||
is MultiMsg.ApplyUp.Response.RequireUpload -> {
|
||||
resId = response.proto.msgResid
|
||||
|
@ -170,10 +170,6 @@ internal class MultiMsg {
|
||||
}
|
||||
|
||||
object MessageTooLarge : Response()
|
||||
|
||||
data class OK(
|
||||
val resId: String
|
||||
) : Response()
|
||||
}
|
||||
|
||||
// captured from group
|
||||
|
Loading…
Reference in New Issue
Block a user