diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-10-26 09:35:16 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-10-26 09:35:16 +0000 |
commit | 798c6c6141e1d8c915a4afadca37669f86af0150 (patch) | |
tree | 56ce17b2ae8490ac9fdf1684130c26e73f6852cf /plugins/NewXstatusNotify | |
parent | 340562e4bd9236fadf2e37ae6f7737f1ea340a90 (diff) |
nxsn don't need to wrire last user info
git-svn-id: http://svn.miranda-ng.org/main/trunk@6631 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewXstatusNotify')
-rw-r--r-- | plugins/NewXstatusNotify/src/main.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/plugins/NewXstatusNotify/src/main.cpp b/plugins/NewXstatusNotify/src/main.cpp index 52b00640c3..7d5822e8c9 100644 --- a/plugins/NewXstatusNotify/src/main.cpp +++ b/plugins/NewXstatusNotify/src/main.cpp @@ -762,19 +762,6 @@ int ContactStatusChanged(WPARAM wParam, LPARAM lParam) strcpy(szProto, hlpProto);
WORD myStatus = (WORD)CallProtoService(szProto, PS_GETSTATUS, 0, 0);
- if (newStatus == ID_STATUS_OFFLINE && oldStatus > ID_STATUS_OFFLINE && !ServiceExists("LastSeenUserDetails")) { // if SeenPlugin not installed write Last Seen info
- SYSTEMTIME systime;
- GetLocalTime(&systime);
-
- db_set_w(hContact, "SeenModule", "Year", systime.wYear);
- db_set_w(hContact, "SeenModule", "Month", systime.wMonth);
- db_set_w(hContact, "SeenModule", "Day", systime.wDay);
- db_set_w(hContact, "SeenModule", "Hours", systime.wHour);
- db_set_w(hContact, "SeenModule", "Minutes", systime.wMinute);
- db_set_w(hContact, "SeenModule", "Seconds", systime.wSecond);
- db_set_w(hContact, "SeenModule", "Status", oldStatus);
- }
-
if (strcmp(szProto, szMetaModuleName) == 0) { //this contact is Meta
HANDLE hSubContact = (HANDLE)CallService(MS_MC_GETMOSTONLINECONTACT, (WPARAM)hContact, 0);
hlpProto = GetContactProto(hSubContact);
|