Comments (4)
It is supposed to work.
Could you check that the cycle, from which td_json_client_receive is called, is not blocked, and td_json_client_receive is really called again after some updates/responses received or timeout expired?
from td.
I run function with QtConcurrent::run()
(This method run function with td_json_client_receive()
always in separate thread) with QTimer
with interval 100. So this function is always called and not blocked.
I can get objects with @type :[ updateUser, updateOption, updateNotificationSettings ].
in Debug I also see response with @type : [ updateChatLastMessage, updateChatReadInbox ]
but it is also not returned via td_json_client_receive()
.
I added VLOG here in hope to see desired responses via td_json_client_receive(), but with no luck.
To be fully honest, I am trying to build on SailfishOS but this OS has default toolchain with gcc 4.8. So I built library with custom gcc 4.9 and add static libstdc++ and libgcc in cmake so I can try to use it in SailfishSDK (IDE to build native apps). And apps uses by default (and it can't be changed) gcc 4.8
from td.
Here is the code where I am trying to call and process tdlib requests\responses
from td.
Everything works fine. Because of timer I didn't see the output of response. Thanks for your time. Closing issue.
from td.
Related Issues (20)
- Phone number banned when testing login flow HOT 10
- Question: how to send welcome message for new user in channel by using tdlib HOT 1
- How to get number of comments of a message? HOT 2
- Edit Message Prompts error { code = 400 message = "Message not found" } HOT 2
- messageUnsupported HOT 2
- [ASK] How revoke all message for everyone in chat group? HOT 4
- How do I upgrade tdlib from version 1.8.10 to the latest 1.8.25 on Ubuntu? HOT 1
- How can I log in to my account using .session files or session string? HOT 1
- how to in python? HOT 11
- In Java, I called ClearImportedContacts but did not clear the contacts I imported. Why? HOT 1
- The application does not open and this error appears. Please respond quickly HOT 2
- In what case will updateMessageInteractionInfo's `interaction_info` be null? HOT 2
- Get a premium limit for pinning topics in the forum HOT 3
- Upgrade pattern HOT 2
- Large growing native memory usage by the Java app which uses tdlib HOT 5
- Changes in updateChatLastMessage Event HOT 1
- TdApi.DownloadFile HOT 4
- A few minutes after logging into my tdlib, the account becomes Deleted Account HOT 2
- bilal HOT 1
- [ASK] Is there an example of how to use the video/voice call feature? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from td.