mirror of
				https://github.com/matrix-org/synapse.git
				synced 2025-10-31 16:21:56 +01:00 
			
		
		
		
	this shouldn't be debug
This commit is contained in:
		
							parent
							
								
									bd769a81e1
								
							
						
					
					
						commit
						c46a0d7eb4
					
				| @ -218,14 +218,14 @@ class RoomMemberHandler(BaseHandler): | |||||||
|             ) |             ) | ||||||
|             if not is_requester_admin: |             if not is_requester_admin: | ||||||
|                 if self.hs.config.block_non_admin_invites: |                 if self.hs.config.block_non_admin_invites: | ||||||
|                     logger.debug( |                     logger.info( | ||||||
|                         "Blocking invite: user is not admin and non-admin " |                         "Blocking invite: user is not admin and non-admin " | ||||||
|                         "invites disabled" |                         "invites disabled" | ||||||
|                     ) |                     ) | ||||||
|                     block_invite = True |                     block_invite = True | ||||||
| 
 | 
 | ||||||
|                 if not self.spam_checker.user_may_invite(requester.user): |                 if not self.spam_checker.user_may_invite(requester.user): | ||||||
|                     logger.debug("Blocking invite due to spam checker") |                     logger.info("Blocking invite due to spam checker") | ||||||
|                     block_invite = True |                     block_invite = True | ||||||
| 
 | 
 | ||||||
|             if block_invite: |             if block_invite: | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user