From 68a3fc7b15763f415970ec49623a449fbae41e7c Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Fri, 14 Aug 2015 18:28:24 +0000 Subject: SkypeWeb: Unneeded code removed git-svn-id: http://svn.miranda-ng.org/main/trunk@14954 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_utils.cpp | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'protocols/SkypeWeb/src/skype_utils.cpp') diff --git a/protocols/SkypeWeb/src/skype_utils.cpp b/protocols/SkypeWeb/src/skype_utils.cpp index bfdaf2ab56..72e912cd61 100644 --- a/protocols/SkypeWeb/src/skype_utils.cpp +++ b/protocols/SkypeWeb/src/skype_utils.cpp @@ -25,24 +25,6 @@ void CSkypeProto::FreeCharList(const LIST &lst) mir_free(lst[i]); } -void CSkypeProto::SetSrmmReadStatus(MCONTACT hContact) -{ - time_t time = getDword(hContact, "LastMsgReadTime", 0); - if (!time) - return; - - TCHAR ttime[64]; - _locale_t locale = _create_locale(LC_ALL, ""); - _tcsftime_l(ttime, _countof(ttime), _T("%X - %x"), localtime(&time), locale); - _free_locale(locale); - - StatusTextData st = { 0 }; - st.cbSize = sizeof(st); - st.hIcon = Skin_LoadIcon(SKINICON_OTHER_HISTORY); - mir_sntprintf(st.tszText, _countof(st.tszText), TranslateT("Message read: %s"), ttime); - CallService(MS_MSG_SETSTATUSTEXT, (WPARAM)hContact, (LPARAM)&st); -} - time_t CSkypeProto::IsoToUnixTime(const char *stamp) { char date[9]; -- cgit v1.2.3