boxdot / gurk-rs

Signal Messenger client for terminal
GNU Affero General Public License v3.0
456 stars 33 forks source link

Update presage #214

Closed gferon closed 1 year ago

gferon commented 1 year ago

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).

boxdot commented 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.

gferon commented 1 year ago

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?

boxdot commented 1 year ago

Let's merge it keeping the possible timeout.