fix
This commit is contained in:
		
							
								
								
									
										3
									
								
								main.py
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								main.py
									
									
									
									
									
								
							| @@ -289,7 +289,8 @@ def _process_message(bot: Bot, m: Message): | ||||
|                 r = bot.send_venue(uid, l.latitude, l.longitude, v.title, v.address, v.foursquare_id, | ||||
|                                    reply_to_message_id=reply_to_message_id) | ||||
|             elif hasattr(m, 'text') and m.text: | ||||
|                 r = bot.send_message(uid, text, 'html', reply_to_message_id=reply_to_message_id) | ||||
|                 r = bot.send_message(uid, text, 'html', reply_to_message_id=reply_to_message_id, | ||||
|                                      disable_web_page_preview=True) | ||||
|             if r: | ||||
|                 user.update_from_message(r) | ||||
|                 user.messages_forward[r.message_id] = conn.root.counter | ||||
|   | ||||
		Reference in New Issue
	
	Block a user