mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-27 02:40:51 +01:00
make it work for weirder retros
This commit is contained in:
parent
1e704ccf3c
commit
530d1651a8
@ -24,7 +24,11 @@ public class IncomingPacketHandler extends PacketHandler {
|
|||||||
isEncryptedStream = packet.readBoolean();
|
isEncryptedStream = packet.readBoolean();
|
||||||
outgoingHandler.isEncryptedStream = true;
|
outgoingHandler.isEncryptedStream = true;
|
||||||
}
|
}
|
||||||
else if (message.getIndex() > 3) {
|
else if (isDataStream && message.getPacket().structureEquals("s") && message.getPacket().length() > 200) {
|
||||||
|
((Observable<TrafficListener>)trafficObservables[0]).removeListener(this);
|
||||||
|
outgoingHandler.isEncryptedStream = true;
|
||||||
|
}
|
||||||
|
else if (message.getIndex() > 1) {
|
||||||
((Observable<TrafficListener>)trafficObservables[0]).removeListener(this);
|
((Observable<TrafficListener>)trafficObservables[0]).removeListener(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user