From 899221e2d058f5afe30bb2ecdbf168c8ad3c15a6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 27 Jan 2023 19:48:42 +0300 Subject: Group chats: all old APIs with lookup by module+session removed --- protocols/Twitter/src/connection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Twitter/src/connection.cpp') diff --git a/protocols/Twitter/src/connection.cpp b/protocols/Twitter/src/connection.cpp index 5e8b88d830..50d9fd6ad0 100644 --- a/protocols/Twitter/src/connection.cpp +++ b/protocols/Twitter/src/connection.cpp @@ -64,7 +64,7 @@ void CTwitterProto::SignOn(void*) } if (NegotiateConnection()) // Could this be? The legendary Go Time?? { - if (!in_chat_ && getByte(TWITTER_KEY_CHATFEED)) + if (!m_si && getByte(TWITTER_KEY_CHATFEED)) OnJoinChat(0, true); setAllContactStatuses(ID_STATUS_ONLINE); @@ -508,7 +508,7 @@ void CTwitterProto::UpdateStatuses(bool pre_read, bool popups, bool tweetToMsg) } for (auto &u : messages.rev_iter()) { - if (!pre_read && in_chat_) + if (!pre_read && m_si) UpdateChat(*u); if (u->username == m_szUserName.c_str()) -- cgit v1.2.3