diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-05 19:10:30 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-05 19:10:30 +0000 |
commit | 282e93cc9d70eb570a4e703edd6a11e79d1b7406 (patch) | |
tree | 1c1d207e243320678dbb43b63bc91dd35d71fb8c /protocols/SkypeWeb | |
parent | 4762fe3d72f220c5c59845f7cfd4f1021a2ab915 (diff) |
git-svn-id: http://svn.miranda-ng.org/main/trunk@13452 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb')
-rw-r--r-- | protocols/SkypeWeb/src/skype_accounts.cpp | 1 | ||||
-rw-r--r-- | protocols/SkypeWeb/src/skype_contacts.cpp | 5 | ||||
-rw-r--r-- | protocols/SkypeWeb/src/skype_proto.cpp | 2 |
3 files changed, 2 insertions, 6 deletions
diff --git a/protocols/SkypeWeb/src/skype_accounts.cpp b/protocols/SkypeWeb/src/skype_accounts.cpp index c3a04aaaef..27a91cb9bf 100644 --- a/protocols/SkypeWeb/src/skype_accounts.cpp +++ b/protocols/SkypeWeb/src/skype_accounts.cpp @@ -52,6 +52,7 @@ int CSkypeProto::OnAccountLoaded(WPARAM, LPARAM) HookProtoEvent(ME_MSG_PRECREATEEVENT, &CSkypeProto::OnPreCreateMessage);
HookProtoEvent(ME_DB_EVENT_MARKED_READ, &CSkypeProto::OnDbEventRead);
+ InitDBEvents();
InitPopups();
InitGroupChatModule();
diff --git a/protocols/SkypeWeb/src/skype_contacts.cpp b/protocols/SkypeWeb/src/skype_contacts.cpp index fadc52c393..8c539e72e1 100644 --- a/protocols/SkypeWeb/src/skype_contacts.cpp +++ b/protocols/SkypeWeb/src/skype_contacts.cpp @@ -37,10 +37,7 @@ void CSkypeProto::SetAllContactsStatus(WORD status) {
for (MCONTACT hContact = db_find_first(m_szModuleName); hContact; hContact = db_find_next(hContact, m_szModuleName))
{
- if (!isChatRoom(hContact))
- SetContactStatus(hContact, status);
- else
- SetChatStatus(hContact, status);
+ SetContactStatus(hContact, status);
}
}
diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp index ec56bc71f7..51d9349ef1 100644 --- a/protocols/SkypeWeb/src/skype_proto.cpp +++ b/protocols/SkypeWeb/src/skype_proto.cpp @@ -61,8 +61,6 @@ PROTO<CSkypeProto>(protoName, userName), password(NULL) db_set_resident(m_szModuleName, "Trouter_sig");
db_set_resident(m_szModuleName, "Trouter_SessId");
- InitDBEvents();
-
//hooks
m_hCallHook = CreateHookableEvent(MODULE"/IncomingCall");
|