From b078dfb78c89aea87cd422eae52694738e473cf3 Mon Sep 17 00:00:00 2001 From: dartraiden Date: Sun, 21 Jul 2019 19:59:18 +0300 Subject: Restore "Free for chat" status support (fixes #1963) --- protocols/Twitter/src/proto.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/Twitter/src/proto.cpp') diff --git a/protocols/Twitter/src/proto.cpp b/protocols/Twitter/src/proto.cpp index 0496409e9b..e7d1e8806f 100644 --- a/protocols/Twitter/src/proto.cpp +++ b/protocols/Twitter/src/proto.cpp @@ -169,8 +169,8 @@ int TwitterProto::SetStatus(int new_status) return 0; m_iDesiredStatus = new_status; - // 40072 - 40077 are the "online" statuses, basically every status except offline. see statusmodes.h - if (new_status >= 40072 && new_status <= 40077) { + // 40072 - 40078 are the "online" statuses, basically every status except offline. see statusmodes.h + if (new_status >= 40072 && new_status <= 40078) { m_iDesiredStatus = ID_STATUS_ONLINE; //i think i have to set this so it forces the twitter proto to be online (and not away, DND, etc) @@ -179,7 +179,7 @@ int TwitterProto::SetStatus(int new_status) return 0; // if we're already connected, and we change to another connected status, don't try and reconnect! - if (old_status >= 40072 && old_status <= 40077) + if (old_status >= 40072 && old_status <= 40078) return 0; // i think here we tell the proto interface struct that we're connecting, just so it knows -- cgit v1.2.3