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(()) |     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) { | pub async fn reject_stale_invites(client: &Client, config: &Config) { | ||||||
|     warn!("Rejecting stale invites"); |     warn!("Rejecting stale invites"); | ||||||
|     for room in client.invited_rooms() { |     for room in client.invited_rooms() { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue