mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-08-31 00:10:30 +00:00
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:
@@ -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"
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user