Re-enable auto-reconnect, after fixing logout.
- Disconnect websocket in ~DDPClient to avoid auto-reconnect
- Make logout actually work by returning true in canStart() (obvious typo)
Also, don't clear the password on logout. I want to be able to log in again
without having to type the password again. No idea why this clear() was
Cleanups: remove unused signal logoutDone() and unimplemented method DDPClient::logOut
Logout stays on login page, with password filled in.
Disconnecting from WIFI for a few minutes and then connecting again leads to the server
throwing us out, and ruqola reconnects.
Reviewers: mlaurent, kfunk
Differential Revision: https://phabricator.kde.org/D27387