From 1c655d47b20961f0c8494ed77697be4ffc9b2414 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Sat, 10 Jun 2023 15:09:08 +0200 Subject: [PATCH] home: add comment explaining send_home_filters --- damus/Models/HomeModel.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/damus/Models/HomeModel.swift b/damus/Models/HomeModel.swift index 0a86867d..6c3298ff 100644 --- a/damus/Models/HomeModel.swift +++ b/damus/Models/HomeModel.swift @@ -375,6 +375,7 @@ class HomeModel: ObservableObject { pool.send(.subscribe(subscription), to: [relay_id]) } + /// After initial connection or reconnect, send subscription filters for the home timeline, DMs, and notifications func send_home_filters(relay_id: String?) { // TODO: since times should be based on events from a specific relay // perhaps we could mark this in the relay pool somehow