Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ import dagger.hilt.android.qualifiers.ApplicationContext
import io.ktor.client.HttpClient
import io.ktor.http.HttpHeaders
import io.ktor.http.Url
import io.ktor.http.content.TextContent
import io.ktor.http.isSuccess
import io.ktor.utils.io.ByteReadChannel
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.sync.Mutex
import kotlinx.coroutines.sync.withLock
Expand Down Expand Up @@ -261,8 +261,7 @@ class PushRegistrationManager @Inject constructor(
serializer.endDocument()

DavCollection(httpClient, collection.url.toKtorUrl()).post(
{ ByteReadChannel(writer.toString()) },
DavResource.MIME_XML_UTF8
TextContent(writer.toString(), DavResource.MIME_XML_UTF8)
) { response ->
if (response.status.isSuccess()) {
// update subscription URL and expiration in DB
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ androidx-test-rules = "1.7.0"
androidx-test-junit = "1.3.0"
androidx-work = "2.11.1"
bitfire-cert4android = "035dd99f7f"
bitfire-dav4jvm = "77c5069f53"
bitfire-dav4jvm = "a8acbff310"
bitfire-synctools = "e9ff9948e3"
compose-accompanist = "0.37.3"
compose-bom = "2026.03.00"
Expand Down