summaryrefslogtreecommitdiff
path: root/protocols/Twitter
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-16 21:05:31 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-16 21:05:31 +0300
commit12225716d38830a23477b97a6979b6414faeec7b (patch)
treebaa3169833239de523eef0c7cf1c1c1fe0731c35 /protocols/Twitter
parent39390b02dbd5aa7eb21a83773fa561b39f8828bc (diff)
entities' names to be started with capital letters
Diffstat (limited to 'protocols/Twitter')
-rw-r--r--protocols/Twitter/src/chat.cpp2
-rw-r--r--protocols/Twitter/src/contacts.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Twitter/src/chat.cpp b/protocols/Twitter/src/chat.cpp
index 2be12c4f20..a28c44f351 100644
--- a/protocols/Twitter/src/chat.cpp
+++ b/protocols/Twitter/src/chat.cpp
@@ -145,7 +145,7 @@ void TwitterProto::SetChatStatus(int status)
{
if (status == ID_STATUS_ONLINE) {
// Add all friends to contact list
- for (auto &hContact : acc_contact_iter()) {
+ for (auto &hContact : AccContacts()) {
if (isChatRoom(hContact))
continue;
diff --git a/protocols/Twitter/src/contacts.cpp b/protocols/Twitter/src/contacts.cpp
index 9e5d80c657..3545862b9c 100644
--- a/protocols/Twitter/src/contacts.cpp
+++ b/protocols/Twitter/src/contacts.cpp
@@ -211,7 +211,7 @@ bool TwitterProto::IsMyContact(MCONTACT hContact, bool include_chat)
MCONTACT TwitterProto::UsernameToHContact(const char *name)
{
- for (auto &hContact : acc_contact_iter()) {
+ for (auto &hContact : AccContacts()) {
if (getByte(hContact, "ChatRoom"))
continue;