summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_threads.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/MSN/src/msn_threads.cpp')
-rw-r--r--protocols/MSN/src/msn_threads.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/protocols/MSN/src/msn_threads.cpp b/protocols/MSN/src/msn_threads.cpp
index e0db9495fa..6f700fc45b 100644
--- a/protocols/MSN/src/msn_threads.cpp
+++ b/protocols/MSN/src/msn_threads.cpp
@@ -94,6 +94,7 @@ void __cdecl CMsnProto::msn_refreshOAuthThread(void *param)
MSN_SendATH((ThreadData*)param);
}
}
+
/////////////////////////////////////////////////////////////////////////////////////////
// MSN server thread - read and process commands from a server
@@ -387,6 +388,11 @@ void ThreadData::applyGatewayData(HNETLIBCONN hConn, bool isPoll)
Netlib_SetHttpProxyInfo(hConn, &nlhpi);
}
+MCONTACT ThreadData::getContactHandle(void)
+{
+ return mJoinedContactsWLID.getCount() ? proto->MSN_HContactFromEmail(mJoinedContactsWLID[0]) : NULL;
+}
+
void ThreadData::getGatewayUrl(char* dest, int destlen, bool isPoll)
{
static const char openFmtStr[] = "http://%s/gateway/gateway.dll?Action=open&Server=%s&IP=%s";