From f8f8dd59c2c08fde813a4f3a2d00b6f1c8d0eaa9 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 15 Jul 2026 14:38:39 +0000 Subject: [PATCH] fix: use non-deprecated PersistentMap.putting()/removing() in RelayAuthenticator Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01Myhus2x1c3BSWCtjenSmkf --- .../quartz/nip01Core/relay/client/auth/RelayAuthenticator.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quartz/src/commonMain/kotlin/com/vitorpamplona/quartz/nip01Core/relay/client/auth/RelayAuthenticator.kt b/quartz/src/commonMain/kotlin/com/vitorpamplona/quartz/nip01Core/relay/client/auth/RelayAuthenticator.kt index a6e3493714..1c5bc662de 100644 --- a/quartz/src/commonMain/kotlin/com/vitorpamplona/quartz/nip01Core/relay/client/auth/RelayAuthenticator.kt +++ b/quartz/src/commonMain/kotlin/com/vitorpamplona/quartz/nip01Core/relay/client/auth/RelayAuthenticator.kt @@ -96,7 +96,7 @@ class RelayAuthenticator( private fun publishSnapshot(relayUrl: NormalizedRelayUrl) { val status = authStatus.get(relayUrl) _authStateFlow.update { current -> - if (status == null) current.remove(relayUrl) else current.put(relayUrl, status.snapshot()) + if (status == null) current.removing(relayUrl) else current.putting(relayUrl, status.snapshot()) } }