From f63eb2bfc28dff8bbf9d56dd57b2bc6b53487f56 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 29 May 2017 23:45:19 +0300 Subject: Skype: - fixes #829; - massive code cleaning --- protocols/SkypeWeb/src/skype_timers.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'protocols/SkypeWeb/src/skype_timers.cpp') diff --git a/protocols/SkypeWeb/src/skype_timers.cpp b/protocols/SkypeWeb/src/skype_timers.cpp index 6d30fcbb94..30ac71e60f 100644 --- a/protocols/SkypeWeb/src/skype_timers.cpp +++ b/protocols/SkypeWeb/src/skype_timers.cpp @@ -22,12 +22,9 @@ mir_cs CSkypeProto::accountsLock; void CSkypeProto::ProcessTimer() { - if (IsOnline()) - { + if (IsOnline()) { PushRequest(new GetContactListRequest(li, NULL), &CSkypeProto::LoadContactList); SendPresence(false); - //if (!m_hTrouterThread) - // SendRequest(new CreateTrouterRequest(), &CSkypeProto::OnCreateTrouter); } } @@ -35,9 +32,7 @@ void CALLBACK CSkypeProto::TimerProc(HWND, UINT, UINT_PTR, DWORD) { mir_cslock lck(accountsLock); for (int i = 0; i < Accounts.getCount(); i++) - { Accounts[i]->ProcessTimer(); - } } void CSkypeProto::SkypeSetTimer() -- cgit v1.2.3