Clear tasks after changing account
JBB recently deleted his account by doing the following steps. In that case "account B" was a trash account and "account A" was the main account. Fortunately everything could be restored from server backups.
- logging in with account B
- losing the connection to the server
- pressing delete account on server in kaidan
- kaidan caches the task until the next successful connection
- changing account and logging in with account A
- kaidan now sends the cached "delete account" to the server
- account A is deleted
I think this is caused by the tasks + caching in Kaidan. I'm not 100% sure, but I think QXmpp checks whether the account JID has changed before resending packets.
Edited by Linus Jahn