We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6e509c1 + 3ffd300 commit a1add74Copy full SHA for a1add74
src/TwitchStreamingTools/ViewModels/Pages/ChatViewModel.cs
@@ -3,6 +3,7 @@
3
using System.Linq;
4
using System.Reactive;
5
using System.Speech.Synthesis;
6
+using System.Threading.Tasks;
7
8
using Nullinside.Api.Common.Twitch;
9
@@ -176,7 +177,7 @@ public override void OnLoaded() {
176
177
}
178
179
_selectedTwitchChatNames.Add(channel.TwitchChannel);
- _twitchClient.AddMessageCallback(channel.TwitchChannel, OnChatMessage);
180
+ Task.Run(() => _twitchClient.AddMessageCallback(channel.TwitchChannel, OnChatMessage));
181
182
183
0 commit comments