This commit is contained in:
Brandon Smith
2015-09-23 07:05:59 -03:00
parent 2583740347
commit 71d5fd1db8

View File

@@ -284,7 +284,7 @@ namespace Discord
foreach (var model in data.PrivateChannels) foreach (var model in data.PrivateChannels)
{ {
var user = _users.GetOrAdd(model.Recipient.Id); var user = _users.GetOrAdd(model.Recipient.Id);
user.Update(data.Recipient); user.Update(model.Recipient);
var channel = _channels.GetOrAdd(model.Id, null, user.Id); var channel = _channels.GetOrAdd(model.Id, null, user.Id);
channel.Update(model); channel.Update(model);
} }