From 4d7709c7b8fc466d21158670bb94aaea23ecb2e5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 6 Mar 2015 15:58:41 +0000 Subject: fix for the wrong date formatting git-svn-id: http://svn.miranda-ng.org/main/trunk@12351 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/WhatsApp/src/contacts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/WhatsApp/src/contacts.cpp') diff --git a/protocols/WhatsApp/src/contacts.cpp b/protocols/WhatsApp/src/contacts.cpp index abdfeea923..f021b575c6 100644 --- a/protocols/WhatsApp/src/contacts.cpp +++ b/protocols/WhatsApp/src/contacts.cpp @@ -116,7 +116,7 @@ void WhatsAppProto::onAvailable(const std::string ¶mString, bool paramBoolea } } - setDword(hContact, WHATSAPP_KEY_LAST_SEEN, 0); + setDword(hContact, WHATSAPP_KEY_LAST_SEEN, time(NULL)); UpdateStatusMsg(hContact); } -- cgit v1.2.3