fixes
This commit is contained in:
@@ -46,7 +46,7 @@ class AuthFrame extends VGroupView implements IPacketHandler {
|
|||||||
if (so.data.login != null && so.data.password != null) {
|
if (so.data.login != null && so.data.password != null) {
|
||||||
loginInput.text = so.data.login;
|
loginInput.text = so.data.login;
|
||||||
passwordInput.text = so.data.password;
|
passwordInput.text = so.data.password;
|
||||||
onPress(null);
|
//onPress(null);
|
||||||
} else {
|
} else {
|
||||||
loginInput.text = "shmyga";
|
loginInput.text = "shmyga";
|
||||||
passwordInput.text = "xkbp8jh9z2";
|
passwordInput.text = "xkbp8jh9z2";
|
||||||
|
|||||||
@@ -37,8 +37,10 @@ class NekoWebConnection extends NekoConnection {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
var data = parseData(bytes);
|
var data = parseData(bytes);
|
||||||
var packet = WebSocketTools.string2packet(data, builder);
|
if (data != null) {
|
||||||
receive(packet);
|
var packet = WebSocketTools.string2packet(data, builder);
|
||||||
|
receive(packet);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -186,6 +188,7 @@ class NekoWebConnection extends NekoConnection {
|
|||||||
|
|
||||||
if (opcode == 136) {
|
if (opcode == 136) {
|
||||||
//socket.close();
|
//socket.close();
|
||||||
|
opened = false;
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user