summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/contacts.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-03-06 15:58:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-03-06 15:58:41 +0000
commit4d7709c7b8fc466d21158670bb94aaea23ecb2e5 (patch)
tree5dce3c9dbdfafb91d4dc2c5fc46190dced322b04 /protocols/WhatsApp/src/contacts.cpp
parent80697b0e53191d73dfb440b334a928cbf0bc9c2c (diff)
fix for the wrong date formatting
git-svn-id: http://svn.miranda-ng.org/main/trunk@12351 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/contacts.cpp')
-rw-r--r--protocols/WhatsApp/src/contacts.cpp2
1 files changed, 1 insertions, 1 deletions
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 &paramString, bool paramBoolea
}
}
- setDword(hContact, WHATSAPP_KEY_LAST_SEEN, 0);
+ setDword(hContact, WHATSAPP_KEY_LAST_SEEN, time(NULL));
UpdateStatusMsg(hContact);
}