Add group icons / profile backgrounds.

This commit is contained in:
Paul
2021-05-01 22:55:37 +01:00
parent 8cfa5d7091
commit 92bface6ae
9 changed files with 148 additions and 30 deletions

View File

@@ -77,7 +77,7 @@ pub async fn generate_ready(mut user: User) -> Result<ClientboundNotification> {
}
},
FindOptions::builder()
.projection(doc! { "_id": 1, "username": 1, "badges": 1, "status": 1 })
.projection(doc! { "_id": 1, "username": 1, "avatar": 1, "badges": 1, "status": 1 })
.build(),
)
.await