mirror of
				https://github.com/LonamiWebs/Telethon.git
				synced 2025-10-31 07:57:38 +03:00 
			
		
		
		
	Add missing await
This commit is contained in:
		
							parent
							
								
									7b6e65a7a5
								
							
						
					
					
						commit
						1b22d0eb12
					
				|  | @ -604,7 +604,7 @@ class Message: | |||
|         if not self.original_message.out: | ||||
|             if not isinstance(self.original_message.to_id, types.PeerUser): | ||||
|                 return None | ||||
|             me = self._client.get_me(input_peer=True) | ||||
|             me = await self._client.get_me(input_peer=True) | ||||
|             if self.original_message.to_id.user_id != me.user_id: | ||||
|                 return None | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user