diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-16 21:05:31 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-16 21:05:31 +0300 |
commit | 12225716d38830a23477b97a6979b6414faeec7b (patch) | |
tree | baa3169833239de523eef0c7cf1c1c1fe0731c35 /protocols/SkypeWeb/src | |
parent | 39390b02dbd5aa7eb21a83773fa561b39f8828bc (diff) |
entities' names to be started with capital letters
Diffstat (limited to 'protocols/SkypeWeb/src')
-rw-r--r-- | protocols/SkypeWeb/src/skype_contacts.cpp | 2 | ||||
-rw-r--r-- | protocols/SkypeWeb/src/skype_dialogs.cpp | 6 | ||||
-rw-r--r-- | protocols/SkypeWeb/src/skype_login.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/protocols/SkypeWeb/src/skype_contacts.cpp b/protocols/SkypeWeb/src/skype_contacts.cpp index 956624daa9..b9c7513840 100644 --- a/protocols/SkypeWeb/src/skype_contacts.cpp +++ b/protocols/SkypeWeb/src/skype_contacts.cpp @@ -59,7 +59,7 @@ MCONTACT CSkypeProto::GetContactFromAuthEvent(MEVENT hEvent) MCONTACT CSkypeProto::FindContact(const char *skypename)
{
- for (auto &hContact : acc_contact_iter())
+ for (auto &hContact : AccContacts())
if (!mir_strcmpi(skypename, Contacts[hContact]))
return hContact;
diff --git a/protocols/SkypeWeb/src/skype_dialogs.cpp b/protocols/SkypeWeb/src/skype_dialogs.cpp index 6a58c70d38..1147810864 100644 --- a/protocols/SkypeWeb/src/skype_dialogs.cpp +++ b/protocols/SkypeWeb/src/skype_dialogs.cpp @@ -39,7 +39,7 @@ CSkypeInviteDlg::CSkypeInviteDlg(CSkypeProto *proto) : void CSkypeInviteDlg::OnInitDialog()
{
- for (auto &hContact : m_proto->acc_contact_iter()) {
+ for (auto &hContact : m_proto->AccContacts()) {
if (!m_proto->isChatRoom(hContact)) {
wchar_t *ptszNick = pcli->pfnGetContactDisplayName(hContact, 0);
m_combo.AddString(ptszNick, hContact);
@@ -77,7 +77,7 @@ void CSkypeGCCreateDlg::OnInitDialog() void CSkypeGCCreateDlg::btnOk_OnOk(CCtrlButton*)
{
- for (auto &hContact : m_proto->acc_contact_iter()) {
+ for (auto &hContact : m_proto->AccContacts()) {
if (!m_proto->isChatRoom(hContact)) {
if (HANDLE hItem = m_clc.FindContact(hContact)) {
if (m_clc.GetCheck(hItem)) {
@@ -94,7 +94,7 @@ void CSkypeGCCreateDlg::btnOk_OnOk(CCtrlButton*) void CSkypeGCCreateDlg::FilterList(CCtrlClc *)
{
- for (auto &hContact : contact_iter()) {
+ for (auto &hContact : Contacts()) {
char *proto = GetContactProto(hContact);
if (mir_strcmp(proto, m_proto->m_szModuleName) || m_proto->isChatRoom(hContact))
if (HANDLE hItem = m_clc.FindContact(hContact))
diff --git a/protocols/SkypeWeb/src/skype_login.cpp b/protocols/SkypeWeb/src/skype_login.cpp index cc145420b4..6df167f3b4 100644 --- a/protocols/SkypeWeb/src/skype_login.cpp +++ b/protocols/SkypeWeb/src/skype_login.cpp @@ -232,7 +232,7 @@ void CSkypeProto::OnCapabilitiesSended(const NETLIBHTTPREQUEST *response) SendRequest(new SetStatusRequest(MirandaToSkypeStatus(m_iDesiredStatus), li), &CSkypeProto::OnStatusChanged);
LIST<char> skypenames(1);
- for (auto &hContact : acc_contact_iter())
+ for (auto &hContact : AccContacts())
if (!isChatRoom(hContact))
skypenames.insert(getStringA(hContact, SKYPE_SETTINGS_ID));
|