Commit 5983ba4b authored by Him188's avatar Him188

Remove debug clauses

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