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()) } }