diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-12-10 01:24:17 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-12-10 18:54:30 +0100 |
commit | dd43402365ac82e6f28d373ea857a38f473e9f45 (patch) | |
tree | 8a4825ac0df9d8f1f3f3685a9e0fd5f96d5e274d /kopete/plugins/history/converter.cpp | |
parent | 3ca6259d5b5b41ecce9759373714bdc57ff563d8 (diff) | |
download | tdenetwork-dd43402365ac82e6f28d373ea857a38f473e9f45.tar.gz tdenetwork-dd43402365ac82e6f28d373ea857a38f473e9f45.zip |
kopete: Restore the AIM protocol because a replacement AIM server was created.
This reverts commits 036b0229db and dc34f9c391.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 91ba38a1df42b56caa73babc90ffa4f674c000d4)
Diffstat (limited to 'kopete/plugins/history/converter.cpp')
-rw-r--r-- | kopete/plugins/history/converter.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/kopete/plugins/history/converter.cpp b/kopete/plugins/history/converter.cpp index 44b41fe9..a3c6580a 100644 --- a/kopete/plugins/history/converter.cpp +++ b/kopete/plugins/history/converter.cpp @@ -74,6 +74,18 @@ void HistoryPlugin::convertOldHistory() TDEGlobal::config()->setGroup("ICQ"); accountId=TDEGlobal::config()->readEntry( "UIN" ); } + else if(fi->fileName() == "AIMProtocol" || fi->fileName() == "aim_logs" ) + { + protocolId="AIMProtocol"; + TDEGlobal::config()->setGroup("AIM"); + accountId=TDEGlobal::config()->readEntry( "UserID" ); + } + else if(fi->fileName() == "OscarProtocol" ) + { + protocolId="AIMProtocol"; + TDEGlobal::config()->setGroup("OSCAR"); + accountId=TDEGlobal::config()->readEntry( "UserID" ); + } else if(fi->fileName() == "JabberProtocol" || fi->fileName() == "jabber_logs") { protocolId="JabberProtocol"; @@ -309,6 +321,10 @@ bool HistoryPlugin::detectOldHistory() if(fi->fileName() == "ICQProtocol" || fi->fileName() == "icq_logs" ) return true; + else if(fi->fileName() == "AIMProtocol" || fi->fileName() == "aim_logs" ) + return true; + else if(fi->fileName() == "OscarProtocol" ) + return true; else if(fi->fileName() == "JabberProtocol" || fi->fileName() == "jabber_logs") return true; ++it; |