Merge pull request #465 from Sentinent/user-presences
Fixed users not being updated on PRESENCE_UPDATEs
This commit is contained in:
@@ -40,6 +40,7 @@ namespace Discord.WebSocket
|
|||||||
internal virtual void Update(ClientState state, PresenceModel model)
|
internal virtual void Update(ClientState state, PresenceModel model)
|
||||||
{
|
{
|
||||||
Presence = SocketPresence.Create(model);
|
Presence = SocketPresence.Create(model);
|
||||||
|
Update(state, model.User);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Task<RestDMChannel> CreateDMChannelAsync(RequestOptions options = null)
|
public Task<RestDMChannel> CreateDMChannelAsync(RequestOptions options = null)
|
||||||
|
|||||||
Reference in New Issue
Block a user