summaryrefslogtreecommitdiff
path: root/protocols/Facebook/src/proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Facebook/src/proto.cpp')
-rw-r--r--protocols/Facebook/src/proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Facebook/src/proto.cpp b/protocols/Facebook/src/proto.cpp
index 8f0606042a..51d9f82ecd 100644
--- a/protocols/Facebook/src/proto.cpp
+++ b/protocols/Facebook/src/proto.cpp
@@ -192,7 +192,7 @@ int FacebookProto::SendMsg(MCONTACT hContact, int, const char *pszSrc)
JSONNode root; root << CHAR_PARAM("body", pszSrc) << INT64_PARAM("msgid", msgId) << INT64_PARAM("sender_fbid", m_uid) << CHAR_PARAM("to", userId);
MqttPublish("/send_message2", root);
- arOwnMessages.insert(new COwnMessage(msgId, m_mid));
+ arOwnMessages.insert(new COwnMessage(msgId, m_mid, hContact));
return m_mid;
}