commit 9f7711fdfe54dddcebfd4cfde509968c50aa1e2c parent 8dd85a7d8847179672b62362a795ebc7d65b8c40 Author: William Casarin <jb55@jb55.com> Date: Sun, 30 Oct 2022 23:13:01 -0700 fix signal detection Signed-off-by: William Casarin <jb55@jb55.com> Diffstat:
M | damus/ContentView.swift | | | 1 | - |
M | damus/Models/HomeModel.swift | | | 2 | ++ |
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/damus/ContentView.swift b/damus/ContentView.swift @@ -332,7 +332,6 @@ struct ContentView: View { } .onReceive(timer) { n in self.damus_state?.pool.connect_to_disconnected() - update_signal_from_pool(signal: self.home.signal, pool: self.damus_state!.pool) } } diff --git a/damus/Models/HomeModel.swift b/damus/Models/HomeModel.swift @@ -214,6 +214,8 @@ class HomeModel: ObservableObject { default: break } + + update_signal_from_pool(signal: signal, pool: damus_state.pool) print("ws_event \(ev)")