diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-11-26 10:21:55 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-11-26 10:21:55 +0900 |
commit | ca1d23cf72d4f902dc2da6be0faf93774a6c5583 (patch) | |
tree | 4d1264fcf395e48c5c7f21eb0c784ace3dd59f3c /events/typingevent.h | |
parent | ab3680f61222a1e915cf6fc4e14f6892c9c99341 (diff) | |
download | libquotient-ca1d23cf72d4f902dc2da6be0faf93774a6c5583.tar.gz libquotient-ca1d23cf72d4f902dc2da6be0faf93774a6c5583.zip |
Make connectToServer/connectWithToken auto-resolve HS if needed
"Needed" means when the current HS URL is invalid even by its outlooks. If it is just inaccessible, no attempt to fix things will be made. This breaks compatibility with previous library behaviour because connectWithToken historically has been fully synchronous and clients depend on that. connectWithToken _may_ work synchronously if HS URL is good enough; but this is no more guaranteed. Moreover, in the future the server will be probed via /versions before working, so connectWithToken will become entirely asynchronous.
Diffstat (limited to 'events/typingevent.h')
0 files changed, 0 insertions, 0 deletions