mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-25 22:17:51 +01:00
Fix unrequired channel remapping occurring upon DM
This commit is contained in:
@@ -673,7 +673,7 @@ namespace Tgstation.Server.Host.Components.Chat
|
||||
.Any();
|
||||
}
|
||||
|
||||
if (!recursed && !mappedChannel.HasValue && hasChannelZero)
|
||||
if (!recursed && !mappedChannel.HasValue && !message.User.Channel.IsPrivateChannel && hasChannelZero)
|
||||
{
|
||||
logger.LogInformation("Receieved message from unmapped channel whose provider contains ID 0. Remapping...");
|
||||
await RemapProvider(provider, cancellationToken);
|
||||
|
||||
Reference in New Issue
Block a user