diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/WhatsApp/src/chat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/WhatsApp/src/chat.cpp b/protocols/WhatsApp/src/chat.cpp index 2bd10dc74f..a2f592afe2 100644 --- a/protocols/WhatsApp/src/chat.cpp +++ b/protocols/WhatsApp/src/chat.cpp @@ -416,7 +416,7 @@ void WhatsAppProto::onGroupMessage(const FMessage &pMsg) gce.dwFlags = GCEF_ADDTOLOG;
gce.ptszUID = tszUID;
gce.ptszNick = tszNick;
- gce.time = time(NULL);
+ gce.time = pMsg.timestamp;
gce.ptszText = tszText;
gce.bIsMe = m_szJid == pMsg.remote_resource;
CallServiceSync(MS_GC_EVENT, NULL, (LPARAM)&gce);
|