Skip to content

Commit

Permalink
Revert "fix merged_members roles having everyone id"
Browse files Browse the repository at this point in the history
This reverts commit ae5c71f.
  • Loading branch information
Puyodead1 committed Dec 24, 2023
1 parent ae5c71f commit 105b3de
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/gateway/opcodes/Identify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,7 @@ export async function onIdentify(this: WebSocket, data: Payload) {
return [
{
...x,
roles: x.roles
.map((role) => role.id)
// filter out the @everyone role
.filter((role) => role !== x.guild_id),
roles: x.roles.map((x) => x.id),

// add back user, which we don't fetch from db
// TODO: For guild profiles, this may need to be changed.
Expand Down

0 comments on commit 105b3de

Please sign in to comment.