Revert "fix merged_members roles having everyone id"
This reverts commit ae5c71f39bf61da5c1d7fb9d9c75f11d6ce11d85.
This commit is contained in:
parent
ae5c71f39b
commit
105b3de19e
@ -235,10 +235,7 @@ export async function onIdentify(this: WebSocket, data: Payload) {
|
|||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
...x,
|
...x,
|
||||||
roles: x.roles
|
roles: x.roles.map((x) => x.id),
|
||||||
.map((role) => role.id)
|
|
||||||
// filter out the @everyone role
|
|
||||||
.filter((role) => role !== x.guild_id),
|
|
||||||
|
|
||||||
// add back user, which we don't fetch from db
|
// add back user, which we don't fetch from db
|
||||||
// TODO: For guild profiles, this may need to be changed.
|
// TODO: For guild profiles, this may need to be changed.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user