Update documentation for reject_stale_invites function
This commit is contained in:
parent
bf4380c4f9
commit
d6c5a420c3
1 changed files with 4 additions and 1 deletions
|
@ -85,7 +85,10 @@ pub async fn delete_old_encryption_devices(client: &Client, config: &Config) ->
|
|||
Ok(())
|
||||
}
|
||||
|
||||
/// Rejects invites that aren't valid anymore or have timed out.
|
||||
/// Rejects invites that are waiting to be processed.
|
||||
///
|
||||
/// The bot will reject invites to spaces and DMs, as well as invites to any rooms it wasn't
|
||||
/// configured to explicitly join, while accepting invites to any rooms it was configured to join.
|
||||
pub async fn reject_stale_invites(client: &Client, config: &Config) {
|
||||
warn!("Rejecting stale invites");
|
||||
for room in client.invited_rooms() {
|
||||
|
|
Loading…
Reference in a new issue