mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-26 22:57:21 +00:00
refactor: update kotlin
This commit is contained in:
parent
d5e4e6b7cd
commit
819f340f0b
@ -4,7 +4,7 @@ org.gradle.jvmargs=-Xmx8g
|
|||||||
|
|
||||||
gradlePluginVersion=7.3.1
|
gradlePluginVersion=7.3.1
|
||||||
googleServicesVersion=4.3.12
|
googleServicesVersion=4.3.12
|
||||||
kotlinVersion=1.6.21
|
kotlinVersion=1.7.20
|
||||||
coroutinesVersion=1.6.4
|
coroutinesVersion=1.6.4
|
||||||
kotlinxJsonVersion=1.3.3
|
kotlinxJsonVersion=1.3.3
|
||||||
lifecycleVersion=2.5.1
|
lifecycleVersion=2.5.1
|
||||||
|
@ -81,6 +81,7 @@ class OpenGroupPoller(private val server: String, private val executorService: S
|
|||||||
is Endpoint.Outbox, is Endpoint.OutboxSince -> {
|
is Endpoint.Outbox, is Endpoint.OutboxSince -> {
|
||||||
handleDirectMessages(server, true, response.body as List<OpenGroupApi.DirectMessage>)
|
handleDirectMessages(server, true, response.body as List<OpenGroupApi.DirectMessage>)
|
||||||
}
|
}
|
||||||
|
else -> { /* We don't care about the result of any other calls (won't be polled for) */}
|
||||||
}
|
}
|
||||||
if (secondToLastJob == null && !isCaughtUp) {
|
if (secondToLastJob == null && !isCaughtUp) {
|
||||||
isCaughtUp = true
|
isCaughtUp = true
|
||||||
|
@ -73,6 +73,7 @@ object UpdateMessageBuilder {
|
|||||||
context.getString(R.string.ConversationItem_group_action_left, senderName)
|
context.getString(R.string.ConversationItem_group_action_left, senderName)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
is UpdateMessageData.Kind.OpenGroupInvitation -> { /*Handled externally*/ }
|
||||||
}
|
}
|
||||||
return message
|
return message
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user