Browse Source

Temporary fix for DownloadMessages

tags/docs-0.9
RogueException 9 years ago
parent
commit
c2bdfe96b0
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/Discord.Net/DiscordClient.Messages.cs

+ 3
- 1
src/Discord.Net/DiscordClient.Messages.cs View File

@@ -234,8 +234,10 @@ namespace Discord
if (cache)
msg = _messages.GetOrAdd(x.Id, x.ChannelId, x.Author.Id);
else
{
msg = _messages[x.Id] ?? new Message(this, x.Id, x.ChannelId, x.Author.Id);
//msg.Update(x);
msg.Update(x); //TODO: Look into updating when cache is true, but only if we actually generated a new message.
}
if (Config.TrackActivity)
{
if (!channel.IsPrivate)


Loading…
Cancel
Save