summary refs log tree commit diff
path: root/gateway/src
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-02-19 11:48:21 +1100
committerGitHub <noreply@github.com>2022-02-19 11:48:21 +1100
commitc821916ffe6c0a372d55edfaf89b28fdeb1032ac (patch)
treef59eb7c5abd099b4bda443b234403148bfc59e08 /gateway/src
parentupdated readme (diff)
parentchanged user.premium_since to also load from the database. (diff)
downloadserver-ts-c821916ffe6c0a372d55edfaf89b28fdeb1032ac.tar.xz
Merge branch 'fosscord:master' into slowcord
Diffstat (limited to 'gateway/src')
-rw-r--r--gateway/src/opcodes/Identify.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/gateway/src/opcodes/Identify.ts b/gateway/src/opcodes/Identify.ts

index f39ac808..904aa963 100644 --- a/gateway/src/opcodes/Identify.ts +++ b/gateway/src/opcodes/Identify.ts
@@ -173,6 +173,7 @@ export async function onIdentify(this: WebSocket, data: Payload) { avatar: related_user.avatar, bot: related_user.bot, bio: related_user.bio, + premium_since: user.premium_since }; users.push(public_related_user); } @@ -225,6 +226,7 @@ export async function onIdentify(this: WebSocket, data: Payload) { accent_color: user.accent_color || 0, banner: user.banner, bio: user.bio, + premium_since: user.premium_since }; const d: ReadyEventData = {