summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_timers.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-05-29 23:45:19 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-05-29 23:45:19 +0300
commitf63eb2bfc28dff8bbf9d56dd57b2bc6b53487f56 (patch)
treef2c2a56e945fc1ea44d5f22f95cd397a0d251fa2 /protocols/SkypeWeb/src/skype_timers.cpp
parent133826f5022c5b0d9beca9285d66afcb604e2fc4 (diff)
Skype:
- fixes #829; - massive code cleaning
Diffstat (limited to 'protocols/SkypeWeb/src/skype_timers.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_timers.cpp7
1 files changed, 1 insertions, 6 deletions
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()