fix: use non-deprecated PersistentMap.putting()/removing() in RelayAuthenticator

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Myhus2x1c3BSWCtjenSmkf
This commit is contained in:
Claude
2026-07-15 14:38:39 +00:00
parent 7506ca599e
commit f8f8dd59c2
@@ -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())
}
}