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
commitd2cae7a18141eb6ac71fd54176d2c623be4f7a85 (patch)
tree7fbe83538f83177c4cdeb44652266134466f64b2 /gateway/src
parentupdated readme (diff)
parentchanged user.premium_since to also load from the database. (diff)
downloadserver-d2cae7a18141eb6ac71fd54176d2c623be4f7a85.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 = {