Fixed response handlers for 'me', 'c', and related commands#3204
Fixed response handlers for 'me', 'c', and related commands#3204whyXVI wants to merge 2 commits intotdlib:masterfrom
Conversation
Resolve issues where handlers were not invoked after sending queries, enabling proper response processing
|
The proposed changes contains multiple issues and aren't going to be merged. It's a bad idea to continuously call receive with 0 timeout. This guarantees nothing and uses 100% CPU in the meanwhile. TDLib's interface is asynchronous and is supposed to be utilized as such.
There are also multiple issues with code formatting, which should be done automatically using clang-format. and naming conventions. |
|
Thank you for your guidance! I noticed that [u] represents receiving all message updates. Previously, my messages flooded the information returned by certain commands. I want to address this issue. Would it be a good idea to remove the handler output in process_update() when receiving messages? (Lines :224-:225, currently only updateNewMessage callbacks produce output.) |
|
I don't want to sound too smart, but how do you think I should implement this on my site just to get authorization to work?😡😡😡 |
Resolved issue with handlers not being invoked post-query, ensuring proper response processing
Added proxy support with comments to aid users in quicker onboarding