Fixes #2: Include own beta badge in payload object

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

No files matched your search

+2 -1
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,