feat: add an approximate member count to servers (#884)

* feat: add an approximate member count to servers

Signed-off-by: Zomatree <me@zomatree.live>

* fix: use approx member count on invites

Signed-off-by: Zomatree <me@zomatree.live>

---------

Signed-off-by: Zomatree <me@zomatree.live>
This commit is contained in:
Zomatree
2026-08-05 08:14:05 +01:00
committed by GitHub
parent fa74826eea
commit ccfb5f1a62
13 changed files with 77 additions and 37 deletions

View File

@@ -78,6 +78,9 @@ auto_derived_partial!(
serde(skip_serializing_if = "crate::if_false", default)
)]
pub discoverable: bool,
/// Approximate amount of members in the server
pub approximate_member_count: usize,
},
"PartialServer"
);