mirror of
				https://github.com/TitanEmbeds/Titan.git
				synced 2025-11-04 07:47:10 +01:00 
			
		
		
		
	Pop guild key during fetch if revoked
Because the key is supposedly no good
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							d90cd64b0f
						
					
				
				
					commit
					0200923524
				
			@@ -295,6 +295,8 @@ def fetch():
 | 
			
		||||
    messages = {}
 | 
			
		||||
    if status['banned'] or status['revoked']:
 | 
			
		||||
        status_code = 403
 | 
			
		||||
        if user_unauthenticated():
 | 
			
		||||
            session['user_keys'].pop(guild_id, None)
 | 
			
		||||
    else:
 | 
			
		||||
        chan = filter_guild_channel(guild_id, channel_id)
 | 
			
		||||
        if not chan.get("read"):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user