From 346f7e53fa248328a22e03c494df49a0e6ad285f Mon Sep 17 00:00:00 2001 From: Him188 <Him188@mamoe.net> Date: Tue, 4 Feb 2020 18:52:37 +0800 Subject: [PATCH] Make `MsgInfo.lFromUin` and `MsgInfo.uMsgTime` nullable --- .../qqandroid/network/protocol/data/jce/PushNotifyPack.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/jce/PushNotifyPack.kt b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/jce/PushNotifyPack.kt index 4f44c6b57..d6d88c5d2 100644 --- a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/jce/PushNotifyPack.kt +++ b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/jce/PushNotifyPack.kt @@ -28,8 +28,8 @@ internal data class RequestPushNotify( @Suppress("ArrayInDataClass") @Serializable internal data class MsgInfo( - @SerialId(0) val lFromUin: Long = 0L, - @SerialId(1) val uMsgTime: Long = 0L, + @SerialId(0) val lFromUin: Long? = 0L, + @SerialId(1) val uMsgTime: Long? = 0L, @SerialId(2) val shMsgType: Short, @SerialId(3) val shMsgSeq: Short, @SerialId(4) val strMsg: String?,