Remove debug clauses

This commit is contained in:
Him188 2019-11-16 01:33:16 +08:00
parent 49c80c8eaf
commit 5983ba4b24

View File

@ -60,8 +60,8 @@ object RequestProfileDetailsPacket : SessionPacketFactory<RequestProfileDetailsR
val qq = readUInt()
discardExact(6)
val map = readTLVMap(tagSize = 2, expectingEOF = true)
map.printTLVMap("Profile(qq=$qq) raw=")
map.mapValues { it.value.encodeToString() }.printTLVMap("Profile(qq=$qq) str=")
//map.printTLVMap("Profile(qq=$qq) raw=")
//map.mapValues { it.value.encodeToString() }.printTLVMap("Profile(qq=$qq) str=")
val profile = Profile(
qq = qq,
nickname = map[0x4E22u]?.encodeToString() ?: "",//error("Cannot determine nickname")