mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-26 08:00:11 +08:00
Ignore meaningless event packets
This commit is contained in:
parent
b6181a021b
commit
691de78cd6
@ -9,7 +9,8 @@ object IgnoredEventPacket : EventPacket
|
|||||||
|
|
||||||
object IgnoredEventIds : List<IgnoredEventParserAndHandler> by {
|
object IgnoredEventIds : List<IgnoredEventParserAndHandler> by {
|
||||||
listOf(
|
listOf(
|
||||||
0x0021u
|
0x0021u,
|
||||||
|
0x0210u // 新朋友等字符串通知
|
||||||
).map { IgnoredEventParserAndHandler(it.toUShort()) }
|
).map { IgnoredEventParserAndHandler(it.toUShort()) }
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user