Fixes #2: Include own beta badge in payload object

This commit is contained in:
Paul
2021-08-06 17:34:48 +01:00
parent f09fde616a
commit 8890e3bab0
4 changed files with 16 additions and 9 deletions

View File

@@ -112,7 +112,8 @@ pub async fn generate_ready(mut user: User) -> Result<ClientboundNotification> {
user.relationship = Some(RelationshipStatus::User);
user.online = Some(true);
users.push(user);
users.push(user.apply_badges());
Ok(ClientboundNotification::Ready {
users,