Fix group recall for TIM PC

This commit is contained in:
Him188 2021-02-02 11:36:05 +08:00
parent f26e0035b3
commit fb05670239
2 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ import net.mamoe.mirai.internal.utils.io.ProtoBuf
internal class MsgRevokeUserDef : ProtoBuf {
@Serializable
internal class MsgInfoUserDef(
@ProtoNumber(1) @JvmField val longMessageFlag: Int = 0,
@ProtoNumber(1) @JvmField val longMessageFlag: Int,
@ProtoNumber(2) @JvmField val longMsgInfo: List<MsgInfoDef> = emptyList(),
@ProtoNumber(3) @JvmField val fileUuid: List<String> = listOf()
) : ProtoBuf {

View File

@ -38,8 +38,8 @@ internal class MsgSvc : ProtoBuf {
@Serializable
internal class PbGroupMsgWithDrawReq(
@ProtoNumber(1) @JvmField val subCmd: Int = 0,
@ProtoNumber(2) @JvmField val groupType: Int = 0,
@ProtoNumber(1) @JvmField val subCmd: Int,
@ProtoNumber(2) @JvmField val groupType: Int,
@ProtoNumber(3) @JvmField val groupCode: Long = 0L,
@ProtoNumber(4) @JvmField val msgList: List<MessageInfo> = emptyList(),
@ProtoNumber(5) @JvmField val userdef: ByteArray = EMPTY_BYTE_ARRAY