summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/MSN/src/msn_commands.cpp')
-rw-r--r--protocols/MSN/src/msn_commands.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/MSN/src/msn_commands.cpp b/protocols/MSN/src/msn_commands.cpp
index cf4a7054f0..f980b116fb 100644
--- a/protocols/MSN/src/msn_commands.cpp
+++ b/protocols/MSN/src/msn_commands.cpp
@@ -500,7 +500,10 @@ void CMsnProto::MSN_ProcessURIObject(MCONTACT hContact, ezxml_t xmli)
CallService(MS_PROTO_CONTACTISTYPING, WPARAM(hContact), 0);
PROTORECVEVENT pre = { 0 };
- pre.szMessage = (char*)ezxml_txt(xmli);
+ CMStringA msgtxt((char*)ezxml_txt(xmli));
+ ezxml_t urllnk;
+ if (urllnk=ezxml_child(xmli, "a")) msgtxt.AppendFormat(" %s", ezxml_txt(urllnk));
+ pre.szMessage = (char*)(const char*)msgtxt;
pre.timestamp = (DWORD)time(NULL);
ProtoChainRecvMsg(hContact, &pre);
}