refactor: update kotlin

This commit is contained in:
0x330a 2023-04-02 22:14:05 +10:00
parent d5e4e6b7cd
commit 819f340f0b
3 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,7 @@ org.gradle.jvmargs=-Xmx8g
gradlePluginVersion=7.3.1
googleServicesVersion=4.3.12
kotlinVersion=1.6.21
kotlinVersion=1.7.20
coroutinesVersion=1.6.4
kotlinxJsonVersion=1.3.3
lifecycleVersion=2.5.1

View File

@ -81,6 +81,7 @@ class OpenGroupPoller(private val server: String, private val executorService: S
is Endpoint.Outbox, is Endpoint.OutboxSince -> {
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) {
isCaughtUp = true

View File

@ -73,6 +73,7 @@ object UpdateMessageBuilder {
context.getString(R.string.ConversationItem_group_action_left, senderName)
}
}
is UpdateMessageData.Kind.OpenGroupInvitation -> { /*Handled externally*/ }
}
return message
}