refactor: keep aether timeline on cluster-aware nostr wrappers

Retain TimelineLive on the plugin-facing Nostr service after the host implementation switched to multi-relay defaults, so the plugin benefits from cluster-aware reads and publish fanout without falling back to direct host internals.
This commit is contained in:
2026-04-10 12:31:59 +02:00
parent c904de90d7
commit 8297334ea5
+1 -1
View File
@@ -95,7 +95,7 @@ defmodule AetherWeb.TimelineLive do
@impl true
def terminate(_reason, socket) do
if is_reference(socket.assigns[:subscription_ref]) do
if socket.assigns[:subscription_ref] do
Nostr.unsubscribe(socket.assigns.subscription_ref)
end