From 73f00336178a9f312bac2992649120d462e0ac2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 11 Dec 2019 01:41:26 +0100 Subject: kopete: Restore the MSN protocol because a replacement MSN server was created. This reverts commits 0486034738 - 2d5f9c55da and f6fd4ab6c0. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kopete/protocols/yahoo/libkyahoo/yabentry.cpp | 3 +++ kopete/protocols/yahoo/libkyahoo/yabentry.h | 1 + 2 files changed, 4 insertions(+) (limited to 'kopete/protocols/yahoo/libkyahoo') diff --git a/kopete/protocols/yahoo/libkyahoo/yabentry.cpp b/kopete/protocols/yahoo/libkyahoo/yabentry.cpp index 4b197b28..9ca9af3d 100644 --- a/kopete/protocols/yahoo/libkyahoo/yabentry.cpp +++ b/kopete/protocols/yahoo/libkyahoo/yabentry.cpp @@ -60,6 +60,7 @@ void YABEntry::fromTQDomElement( const TQDomElement &e ) imGoogleTalk = e.attribute("img"); imICQ = e.attribute("imq"); imIRC = e.attribute("imc"); + imMSN = e.attribute("imm"); imQQ = e.attribute("imqq"); imSkype = e.attribute("imk"); } @@ -109,6 +110,7 @@ void YABEntry::fromTQDomDocument( const TQDomDocument &d ) imGoogleTalk = d.elementsByTagName("img").item(0).toElement().text(); imICQ = d.elementsByTagName("imq").item(0).toElement().text(); imIRC = d.elementsByTagName("imc").item(0).toElement().text(); + imMSN = d.elementsByTagName("imm").item(0).toElement().text(); imQQ = d.elementsByTagName("imqq").item(0).toElement().text(); imSkype = d.elementsByTagName("imk").item(0).toElement().text(); } @@ -155,6 +157,7 @@ void YABEntry::fillTQDomElement( TQDomElement &e ) const e.setAttribute( "img", imGoogleTalk ); e.setAttribute( "imq", imICQ ); e.setAttribute( "imc", imIRC ); + e.setAttribute( "imm", imMSN ); e.setAttribute( "imqq", imQQ ); e.setAttribute( "imk", imSkype ); } diff --git a/kopete/protocols/yahoo/libkyahoo/yabentry.h b/kopete/protocols/yahoo/libkyahoo/yabentry.h index bcb2bce9..14cacef8 100644 --- a/kopete/protocols/yahoo/libkyahoo/yabentry.h +++ b/kopete/protocols/yahoo/libkyahoo/yabentry.h @@ -46,6 +46,7 @@ struct YABEntry TQString altEmail2; TQString imAIM; TQString imICQ; + TQString imMSN; TQString imGoogleTalk; TQString imSkype; TQString imIRC; -- cgit v1.2.1