Use SendMessage not QueueMessage for restarts

This commit is contained in:
Jordan Brown
2020-12-18 01:19:55 -05:00
parent 7c13785969
commit 89b1ff6402
@@ -828,8 +828,7 @@ namespace Tgstation.Server.Host.Components.Chat
lock (mappedChannels) // so it doesn't change while we're using it
wdChannels = mappedChannels.Select(x => x.Key).ToList();
QueueMessage(message, wdChannels);
return Task.CompletedTask;
return SendMessage(message, wdChannels, cancellationToken);
}
/// <summary>