[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#523748: [kopete] msn protocol disappeared



reopen 523748
reassign 523748 kopete,kaboom
retitle 523748 please migrate accounts from the msn to the wlm plugin
thanks

Yesterday a friend of mine, after reading this bug report as I pointed him to, 
asked me if I knew how to migrate his msn accounts to wlm without losing the 
chat logs, meta contacts, etc. It would be great if either kopete or kaboom 
did it (I'd prefer if kopete did it, as it is more or less unrelated to 
kaboom.)

The necessary steps are:
sed -i 's/MSNProtocol/WlmProtocol/g' .kde/share/config/kopeterc .kde/share/apps/kopete/contactlist.xml
mv .kde/share/apps/kopete/logs/MSNProtocol .kde/share/apps/kopete/logs/WlmProtocol

Although the contact pictures can also be migrated:
(shell code plus some php code to get the raw sha1 hash)
mkdir .kde/share/apps/kopete/wlmpictures
for pic in .kde/share/apps/kopete/msnpictures/*; do
  nn=$(php -nr 'echo str_replace("/", "_", base64_encode(sha1_file("'$pic'", 
true)));')
  mv $pic .kde/share/apps/kopete/wlmpictures/$nn
done

Cheers,
-- 
Raphael Geissert - Debian Maintainer
www.debian.org - get.debian.net



Reply to: