Commit 7efb7834 authored by Him188's avatar Him188

Remove senseless response

parent aa553ebb
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment