Remove senseless response

This commit is contained in:
Him188 2020-03-29 02:34:55 +08:00
parent aa553ebb75
commit 7efb7834db
2 changed files with 0 additions and 6 deletions

View File

@ -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

View File

@ -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