driver-telegram icon indicating copy to clipboard operation
driver-telegram copied to clipboard

Fix quoting in supergroups bug

Open chimit opened this issue 9 months ago • 0 comments

In supergroups, quoting of any message gets message_thread_id set even if the supergroup doesn't have topics. This causes botman to respond to such messages using the same message_thread_id but since topics don't exist such messages are not displayed anywhere.

This PR makes an additional check of is_topic_message to make sure it's a supergroup with topics and only in that case sets the message_thread_id.

chimit avatar Mar 24 '25 17:03 chimit