reformated code

This commit is contained in:
gouri-panda 2020-11-12 16:57:33 +05:30
parent 16bd02901e
commit 2ef3f21aae

View File

@ -92,7 +92,7 @@ abstract class PeerGroupHandshake(private var groupInfo: WifiP2pInfo) {
val kiwixHandShakeMessage = objectInputStream.readObject()
// Verify that the peer trying to communicate is a kiwix app intending to transfer files
return@readHandshakeAndExchangeMetaData if (isKiwixHandshake(
if (isKiwixHandshake(
kiwixHandShakeMessage
)
) {
@ -110,6 +110,7 @@ abstract class PeerGroupHandshake(private var groupInfo: WifiP2pInfo) {
ex.printStackTrace()
return null
}
return null
}
companion object {