Browse Source

Merge pull request #465 from Sentinent/user-presences

Fixed users not being updated on PRESENCE_UPDATEs
tags/1.0-rc
RogueException GitHub 8 years ago
parent
commit
4665b63d27
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/Discord.Net.WebSocket/Entities/Users/SocketUser.cs

+ 1
- 0
src/Discord.Net.WebSocket/Entities/Users/SocketUser.cs View File

@@ -40,6 +40,7 @@ namespace Discord.WebSocket
internal virtual void Update(ClientState state, PresenceModel model)
{
Presence = SocketPresence.Create(model);
Update(state, model.User);
}

public Task<RestDMChannel> CreateDMChannelAsync(RequestOptions options = null)


Loading…
Cancel
Save