if an account is recreated, reuse the existing chat logs
@jfft
Submitted by Jean-François Fortin Tam Link to original bug (#617715)
Description
Ok so here's what happened: my gnome keyring crashed (I tried deleting some keys in seahorse, and the thing just locked up) and corrupt itself. Well ok, no biggie. rm ~/.gnome2/keyrings and logout and relogin into gnome right?
The problem is that Empathy really didn't seem to handle it well. I had the following accounts:
- an IRC account with password
- a salut account
- a jabber account
- a butterfly account
- a couple of other inactive or test accounts
When I started empathy, only the salut account and the IRC account were left, with the IRC account having "lost" its password.
The logs in ~/.local/share/Empathy/logs are still all there, so I tried creating my jabber account anew. It worked, but... it doesn't "match" the existing log files to it:
Thus, if I right-click anyone in the contact list, the "Show previous conversations" option is greyed out, and if I go into the log viewer (F3), by default the IRC account is selected instead of the jabber account, and when I go to select the jabber account, I see it's there "twice". One of the two instances (the new one) has no log files!
Attached is the generic debug log from empathy, which looks a bit suspicious. I'm not used to saying this, but please help! I can't use empathy until I solve+fix this mystery, I don't want to lose data :(
Version: 2.30.x