diff options
-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");
|