Fixed removing DMs from cache

This commit is contained in:
RogueException
2016-06-21 01:18:56 -03:00
parent 23bd574830
commit 4215a9d8cd

View File

@@ -677,7 +677,7 @@ namespace Discord
}
}
else
channel = RemoveDMChannel(data.Id);
channel = RemoveDMChannel(data.Recipient.Id);
if (channel != null)
await ChannelDestroyed.RaiseAsync(channel).ConfigureAwait(false);
else