Browse Source

Fixed GlobalUser.PrivateChannel

tags/docs-0.9
RogueException 9 years ago
parent
commit
2af73046fc
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      src/Discord.Net/Models/Channel.cs

+ 7
- 2
src/Discord.Net/Models/Channel.cs View File

@@ -83,9 +83,14 @@ namespace Discord
x =>
{
Name = "@" + x.Name;
x.GlobalUser.PrivateChannel = this;
if (_server.Id == null)
x.GlobalUser.PrivateChannel = this;
},
x => x.GlobalUser.PrivateChannel = null);
x =>
{
if (_server.Id == null)
x.GlobalUser.PrivateChannel = null;
});
_permissionOverwrites = _initialPermissionsOverwrites;
_areMembersStale = true;



Loading…
Cancel
Save