fix: send filters to new clients
This commit is contained in:
@ -51,6 +51,14 @@ public class NostrListener : IDisposable
|
|||||||
{
|
{
|
||||||
_client.RegisterCommunicator(comm);
|
_client.RegisterCommunicator(comm);
|
||||||
comm.Start();
|
comm.Start();
|
||||||
|
var client = _client.FindClient(comm.Name);
|
||||||
|
if (client != default)
|
||||||
|
{
|
||||||
|
foreach (var (k, v) in _subscriptionToFilter)
|
||||||
|
{
|
||||||
|
client.Send(new NostrRequest(k, v));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user