Commit 5983ba4b authored by Him188's avatar Him188

Remove debug clauses

parent 49c80c8e
......@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment