mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-21 15:05:19 +00:00
Update VersionDataFetcher KDoc
This commit is contained in:
parent
72d77a9caf
commit
5c4e95c4ec
@ -41,10 +41,10 @@ class VersionDataFetcher @Inject constructor(
|
||||
private val scope = CoroutineScope(Dispatchers.Default)
|
||||
|
||||
/**
|
||||
* Schedules fetching version data [delayMillis] milliseconds from now.
|
||||
* Schedules fetching version data.
|
||||
*
|
||||
* This method will fetch immediately if 4 hours or more has elapsed since the last successful
|
||||
* check.
|
||||
* @param delayMillis The delay before fetching version data. Default value is 4 hours from the
|
||||
* last check or 0 if there was no previous check or if it was longer than 4 hours ago.
|
||||
*/
|
||||
@JvmOverloads
|
||||
fun startTimedVersionCheck(
|
||||
|
@ -131,10 +131,7 @@ object FileServerApi {
|
||||
val signature = BlindKeyAPI.blindVersionSign(secretKey, timestamp)
|
||||
|
||||
// The hex encoded version-blinded public key with a 07 prefix
|
||||
val blindedPkHex = buildString {
|
||||
append("07")
|
||||
append(blindedKeys.pubKey.toHexString())
|
||||
}
|
||||
val blindedPkHex = "07" + blindedKeys.pubKey.toHexString()
|
||||
|
||||
val request = Request(
|
||||
verb = HTTP.Verb.GET,
|
||||
|
Loading…
Reference in New Issue
Block a user