From 165a501a7859f6b2cb5c3fafd255df14ba299007 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88?= Date: Tue, 22 Jul 2025 18:12:12 -0400 Subject: [PATCH] bug: fixing subscription issue with twitch client chat messages When I modified the code to be channel specific I completely forgot that +=ing a delegate will append copies if you don't -= the item first. Fixed it now. The -= will ensure that only a single copy of the subscription is added to the chain. --- src/Nullinside.Api.Common/Twitch/TwitchClientProxy.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Nullinside.Api.Common/Twitch/TwitchClientProxy.cs b/src/Nullinside.Api.Common/Twitch/TwitchClientProxy.cs index 1b122a1..bfbea60 100644 --- a/src/Nullinside.Api.Common/Twitch/TwitchClientProxy.cs +++ b/src/Nullinside.Api.Common/Twitch/TwitchClientProxy.cs @@ -188,6 +188,7 @@ public async Task AddMessageCallback(string channel, Action