public void Handle(SubscriptionRequested message) { _repository.PersistPublishing(message.Subscriptions); // Reload here! Handle(new SubscriptionsChanged()); UpdatePeers(); }
public void Handle(SubscriptionRequested message) { _repository.PersistPublishing(message.Subscriptions); // Reload here! Handle(new SubscriptionsChanged()); var peers = _repository.FindPeers(); peers.Each(SendSubscriptionChangedToPeer); }