From 3e6fb10c557538bbb89666b1423bf7c85f1e4aff Mon Sep 17 00:00:00 2001 From: leecher1337 Date: Thu, 29 Mar 2018 01:04:55 +0200 Subject: Seems like MSN now only uses Skype contacts internally, therefore crude hack to migrate MSN-user messages to Skype. --- protocols/MSN/src/msn_misc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/MSN/src/msn_misc.cpp') diff --git a/protocols/MSN/src/msn_misc.cpp b/protocols/MSN/src/msn_misc.cpp index 35280a1610..3e2180ac1f 100644 --- a/protocols/MSN/src/msn_misc.cpp +++ b/protocols/MSN/src/msn_misc.cpp @@ -461,7 +461,7 @@ int ThreadData::sendMessage(int, const char *email, int netId, const char *parMs "From: %d:%s;epid=%s\r\n\r\n" "Reliability: 1.0\r\n\r\n%s", netId, email, - netId == NETID_SKYPE?netId:proto->MyOptions.netId, proto->GetMyUsername(netId), proto->MyOptions.szMachineGuid, + NETID_SKYPE, proto->GetMyUsername(NETID_SKYPE), proto->MyOptions.szMachineGuid, parMsg); return seq; @@ -657,8 +657,8 @@ void CMsnProto::MSN_SetServerStatus(int newStatus) "Uri: /user\r\n" "Content-Type: application/user+xml\r\n" "Content-Length: %d\r\n\r\n%s", - MyOptions.netId, MyOptions.szEmail, - MyOptions.netId, MyOptions.szEmail, + NETID_SKYPE, GetMyUsername(NETID_SKYPE), + NETID_SKYPE, GetMyUsername(NETID_SKYPE), MyOptions.szMachineGuid, sz, szMsg); -- cgit v1.2.3