mirror of
https://github.com/mamoe/mirai.git
synced 2025-04-25 04:50:26 +08:00
fix: null handle
This commit is contained in:
parent
db214e8e71
commit
24036690f0
@ -325,7 +325,7 @@ internal class GroupNotificationProcessor(
|
||||
data: MsgType0x2DC,
|
||||
) = data.context {
|
||||
val grayTip = buf.loadAs(TroopTips0x857.NotifyMsgBody.serializer(), 1).optGeneralGrayTip
|
||||
?: return@context
|
||||
?: return@context markNotConsumed()
|
||||
markAsConsumed()
|
||||
when (grayTip.templId) {
|
||||
// 群幸运词
|
||||
|
Loading…
Reference in New Issue
Block a user