Fix DiscordProvider thinking all channels are private channels

This commit is contained in:
Jordan Brown
2018-09-22 13:23:09 -04:00
parent 472c837616
commit 78dc40b95e
@@ -92,7 +92,7 @@ namespace Tgstation.Server.Host.Components.Chat.Providers
Channel = new Channel
{
RealId = e.Channel.Id,
IsPrivate = true,
IsPrivate = pm,
ConnectionName = pm ? e.Author.Username : (e.Channel as ITextChannel)?.Guild.Name ?? "UNKNOWN",
FriendlyName = e.Channel.Name
//isAdmin and Tag populated by manager