Skip to content

Commit

Permalink
gateway: Ignore PRESENCES_REPLACE dispatch
Browse files Browse the repository at this point in the history
This dispatch is undocumented and only used by user accounts.
  • Loading branch information
foxbot committed Jul 3, 2018
1 parent ffe994a commit beb3d46
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Discord.Net.WebSocket/DiscordSocketClient.cs
Expand Up @@ -1512,6 +1512,9 @@ private async Task ProcessMessageAsync(GatewayOpCode opCode, int? seq, string ty
case "MESSAGE_ACK":
await _gatewayLogger.DebugAsync("Ignored Dispatch (MESSAGE_ACK)").ConfigureAwait(false);
break;
case "PRESENCES_REPLACE":
await _gatewayLogger.DebugAsync("Ignored Dispatch (PRESENCES_REPLACE)").ConfigureAwait(false);
break;
case "USER_SETTINGS_UPDATE":
await _gatewayLogger.DebugAsync("Ignored Dispatch (USER_SETTINGS_UPDATE)").ConfigureAwait(false);
break;
Expand Down

0 comments on commit beb3d46

Please sign in to comment.