mirror of
https://github.com/oxen-io/session-android.git
synced 2025-04-17 01:11:25 +00:00
Fix typo
This commit is contained in:
parent
d1a8b70af4
commit
c058b332da
@ -76,14 +76,14 @@ object OpenGroupAPIV2 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
data class Request(
|
data class Request(
|
||||||
val verb: HTTP.Verb,
|
val verb: HTTP.Verb,
|
||||||
val room: String?,
|
val room: String?,
|
||||||
val server: String,
|
val server: String,
|
||||||
val endpoint: String,
|
val endpoint: String,
|
||||||
val queryParameters: Map<String, String> = mapOf(),
|
val queryParameters: Map<String, String> = mapOf(),
|
||||||
val parameters: Any? = null,
|
val parameters: Any? = null,
|
||||||
val headers: Map<String, String> = mapOf(),
|
val headers: Map<String, String> = mapOf(),
|
||||||
val isAuthRequired: Boolean = true,
|
val isAuthRequired: Boolean = true,
|
||||||
/**
|
/**
|
||||||
* Always `true` under normal circumstances. You might want to disable
|
* Always `true` under normal circumstances. You might want to disable
|
||||||
* this when running over Lokinet.
|
* this when running over Lokinet.
|
||||||
@ -366,6 +366,7 @@ object OpenGroupAPIV2 {
|
|||||||
&& timeSinceLastOpen > OpenGroupPollerV2.maxInactivityPeriod)
|
&& timeSinceLastOpen > OpenGroupPollerV2.maxInactivityPeriod)
|
||||||
hasPerformedInitialPoll[server] = true
|
hasPerformedInitialPoll[server] = true
|
||||||
if (!hasUpdatedLastOpenDate) {
|
if (!hasUpdatedLastOpenDate) {
|
||||||
|
hasUpdatedLastOpenDate = true
|
||||||
TextSecurePreferences.setLastOpenDate(context)
|
TextSecurePreferences.setLastOpenDate(context)
|
||||||
}
|
}
|
||||||
val requests = rooms.mapNotNull { room ->
|
val requests = rooms.mapNotNull { room ->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user