Closed gferon closed 1 year ago
Thank you. I tested this commit for 2 days, and sometimes I get stuck in sync contacts. I am afraid we need to dig deeper into it before merging.
This wait has a timeout. If you test more often than a certain frequency the phone application doesn't send the contacts because of some client-side rate limiting.
EDIT: what about making the wait configurable or something like 60s?
Let's merge it keeping the possible timeout.
This should at least fix #208 and probably some other small issues related to how some HTTP responses are handled by
libsignal-service-rs
(this will for example make use of the internal websocket for sending messages, instead of direct HTTP API calls).