Implement captcha for status 428
Catch and handle the "proof required" response when sending a message.
-
Catch the proof-required error, grab the token -
Deliver the token to the QML application and open it -
Receive the reCaptcha response -
Send the token and response -
Retry the reCaptcha if needed
Requires libsignal-service-rs!190
Closes #417 (closed) Closes #418 (closed)
Slightly off-topic (not implemented):
- Set some kind of proof-required or queue-enabled status
- Queue any new outgoing messages
- If the token was accepted, disable the proof/queue status
- Handle the queue
Edited by Matti Viljanen