commit 1c655d47b20961f0c8494ed77697be4ffc9b2414
parent 24cc361d605c0e9aee0ca2daf00b6147c07f7c21
Author: William Casarin <jb55@jb55.com>
Date: Sat, 10 Jun 2023 15:09:08 +0200
home: add comment explaining send_home_filters
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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