From 6340d288a33758bc5ea57565f0e54f053e9058d6 Mon Sep 17 00:00:00 2001 From: DiFFoZ <48765566+DiFFoZ@users.noreply.github.com> Date: Fri, 31 Dec 2021 00:58:15 +0700 Subject: [PATCH] Fixes #1 --- EvolutionPlugins.OpenJoinLeaveMessages/ServiceConfigurator.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/EvolutionPlugins.OpenJoinLeaveMessages/ServiceConfigurator.cs b/EvolutionPlugins.OpenJoinLeaveMessages/ServiceConfigurator.cs index e3bc402..ad7cedb 100644 --- a/EvolutionPlugins.OpenJoinLeaveMessages/ServiceConfigurator.cs +++ b/EvolutionPlugins.OpenJoinLeaveMessages/ServiceConfigurator.cs @@ -9,6 +9,10 @@ public class ServiceConfigurator : IServiceConfigurator { public void ConfigureServices(IOpenModServiceConfigurationContext openModStartupContext, IServiceCollection serviceCollection) { + serviceCollection.Configure(x => + { + x.AddBroadcastProvider(); + }); serviceCollection.TryAddSingleton(); } }