diff --git a/discord-waffle-bridge/src/index.js b/discord-waffle-bridge/src/index.js index 4465639..2119500 100644 --- a/discord-waffle-bridge/src/index.js +++ b/discord-waffle-bridge/src/index.js @@ -11,11 +11,7 @@ class Bridge { intents: 0 | (1 << 0) | (1 << 9) | (1 << 15), // GUILDS | GUILD_MESSAGES | MESSAGE_CONTENT } ); - this.waffleClient = new WaffleClient(WAFFLE_TOKEN, { - bridgesTo: "Discord Inc. (not affiliated)", - privacy: "https://discord.com/privacy", - terms: "https://discord.com/terms" - }); + this.waffleClient = new WaffleClient(WAFFLE_TOKEN, {}); this.waffleChannelIdToDiscordChannelIdMap = new Map(); this.discordChannelIdToWaffleChannelIdMap = new Map(); diff --git a/frontend/src/stores.js b/frontend/src/stores.js index c5cfbf9..9650a0f 100644 --- a/frontend/src/stores.js +++ b/frontend/src/stores.js @@ -602,9 +602,6 @@ class PresenceStore extends Store { // don't need to push the status, since we remove offline members from the presence list this.value.push({ user: entry.user, - bridgesTo: entry.bridgesTo, - privacy: entry.privacy, - terms: entry.terms }); } }); diff --git a/src/gateway/index.ts b/src/gateway/index.ts index 71a3e47..b4e1786 100644 --- a/src/gateway/index.ts +++ b/src/gateway/index.ts @@ -167,9 +167,6 @@ export class GatewayClient { lastAliveCheck: number; clientDispatchChannels: Set; messagesSinceLastCheck: number; - bridgesTo?: string; - privacy?: string; - terms?: string; constructor(ws: WebSocket) { this.ws = ws; @@ -179,9 +176,6 @@ export class GatewayClient { this.lastAliveCheck = performance.now(); this.clientDispatchChannels = new Set(); this.messagesSinceLastCheck = 0; - this.bridgesTo = undefined; - this.privacy = undefined; - this.terms = undefined; gatewayClients.add(this); this.ws.on("close", this.handleClose.bind(this)); @@ -243,9 +237,6 @@ export class GatewayClient { avatar: this.user.avatar }, status, - bridgesTo: this.bridgesTo, - privacy: this.privacy, - terms: this.terms, }; } diff --git a/src/types/gatewaypresence.d.ts b/src/types/gatewaypresence.d.ts index fee95dc..9371e77 100644 --- a/src/types/gatewaypresence.d.ts +++ b/src/types/gatewaypresence.d.ts @@ -6,8 +6,5 @@ export interface GatewayPresenceEntry { id: number, avatar: string | null }, - bridgesTo?: string, - privacy?: string, - terms?: string, status: GatewayPresenceStatus }