Commit 7efb7834 authored by Him188's avatar Him188

Remove senseless response

parent aa553ebb
...@@ -408,8 +408,6 @@ internal abstract class QQAndroidBotBase constructor( ...@@ -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 { ...@@ -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
......
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