mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 04:28:35 +00:00
Revert "Do not send app level keep-alives for unauth WebSocket."
This reverts commit 54a2628797.
This commit is contained in:
@@ -98,7 +98,7 @@ sealed class SignalWebSocket(
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Synchronized
|
@Synchronized
|
||||||
open fun shouldSendKeepAlives(): Boolean {
|
fun shouldSendKeepAlives(): Boolean {
|
||||||
return keepAliveTokens.isNotEmpty()
|
return keepAliveTokens.isNotEmpty()
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -300,11 +300,6 @@ sealed class SignalWebSocket(
|
|||||||
return Single.error(e)
|
return Single.error(e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Synchronized
|
|
||||||
override fun shouldSendKeepAlives(): Boolean {
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user