summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_misc.cpp
diff options
context:
space:
mode:
authorleecher1337 <leecher@dose.0wnz.at>2018-03-29 01:04:55 +0200
committerleecher1337 <leecher@dose.0wnz.at>2018-03-29 01:04:55 +0200
commit3e6fb10c557538bbb89666b1423bf7c85f1e4aff (patch)
tree1c40c3c0713bc075596beb6d8b805302aeb5dd68 /protocols/MSN/src/msn_misc.cpp
parente6e175b99ad75a4a82ae8363eed5277b0ffa577d (diff)
Seems like MSN now only uses Skype contacts internally, therefore crude hack to migrate MSN-user messages to Skype.
Diffstat (limited to 'protocols/MSN/src/msn_misc.cpp')
-rw-r--r--protocols/MSN/src/msn_misc.cpp6
1 files changed, 3 insertions, 3 deletions
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);