Files
notedeck/src
William Casarin a28db5d330 local thread subscriptions
This adds local nostrdb thread subscriptions. When navigating to a
thread, we first check to see if we have any active nostrdb
subscriptions for that thread. If not, we create a new subscription. If
we do, we re-use that subscription.

This works by storing thread state in the Threads struct in the Damus
application state.

When we pop a route, we check to see if its a thread route. If it is,
then we try to unsubscribe, but only if that is the last remaining
subscriber for that thread, as there could be more than one.

Signed-off-by: William Casarin <jb55@jb55.com>
2024-07-31 13:51:24 -07:00
..
2024-07-31 13:51:24 -07:00
2024-07-31 13:51:24 -07:00
2024-06-10 06:11:00 -07:00
2024-07-31 13:51:24 -07:00
2024-06-21 14:12:07 -07:00
2024-07-01 06:49:12 -07:00
2024-07-31 13:51:24 -07:00
2024-06-28 15:27:46 -04:00
2024-07-31 13:51:24 -07:00
2024-07-31 13:51:24 -07:00
2024-07-01 19:22:43 -07:00
2024-06-23 20:04:00 -04:00
2024-06-17 16:21:46 -07:00
2024-07-31 13:51:24 -07:00
2024-07-31 13:51:24 -07:00