mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-22 09:58:08 +00:00
Fix protocol version comparison
This commit is contained in:
parent
68a0b73e9c
commit
f8a2d2da03
@ -236,7 +236,7 @@ public class LanLinkProvider extends BaseLinkProvider {
|
||||
String mode = clientMode ? "client" : "server";
|
||||
try {
|
||||
NetworkPacket secureIdentityPacket;
|
||||
if (protocolVersion == 8) {
|
||||
if (protocolVersion >= 8) {
|
||||
DeviceInfo myDeviceInfo = DeviceHelper.getDeviceInfo(context);
|
||||
NetworkPacket myIdentity = myDeviceInfo.toIdentityPacket();
|
||||
OutputStream writer = sslSocket.getOutputStream();
|
||||
|
Loading…
x
Reference in New Issue
Block a user