fix: packet coding
This commit is contained in:
parent
7788d7fc92
commit
3dbc6dae48
|
@ -16,8 +16,9 @@ export default function (Superclass) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static unpack(packet) {
|
static unpack(packet) {
|
||||||
const data = super.unpack(packet);
|
const unpacked = super.unpack(packet);
|
||||||
return msgpack.decode(data);
|
unpacked.data = msgpack.decode(unpacked.data);
|
||||||
|
return unpacked;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user