fix: send filters to new clients

This commit is contained in:
2024-01-10 15:09:57 +00:00
parent 365f50694c
commit e9458b82f4

View File

@ -51,6 +51,14 @@ public class NostrListener : IDisposable
{
_client.RegisterCommunicator(comm);
comm.Start();
var client = _client.FindClient(comm.Name);
if (client != default)
{
foreach (var (k, v) in _subscriptionToFilter)
{
client.Send(new NostrRequest(k, v));
}
}
}
}