From 49e2ce57910d52c914af340bd14e6970b734a922 Mon Sep 17 00:00:00 2001 From: dartraiden Date: Tue, 4 Jun 2019 15:50:53 +0300 Subject: fix fo statuses ids --- protocols/Twitter/src/proto.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/Twitter/src') diff --git a/protocols/Twitter/src/proto.cpp b/protocols/Twitter/src/proto.cpp index 3a1b07cc2e..7db3a47156 100644 --- a/protocols/Twitter/src/proto.cpp +++ b/protocols/Twitter/src/proto.cpp @@ -172,8 +172,8 @@ int TwitterProto::SetStatus(int new_status) return 0; m_iDesiredStatus = new_status; - // 40072 - 40080 are the "online" statuses, basically every status except offline. see statusmodes.h - if (new_status >= 40072 && new_status <= 40080) { + // 40072 - 40077 are the "online" statuses, basically every status except offline. see statusmodes.h + if (new_status >= 40072 && new_status <= 40077) { 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) @@ -182,7 +182,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 <= 40080) + if (old_status >= 40072 && old_status <= 40077) return 0; // i think here we tell the proto interface struct that we're connecting, just so it knows -- cgit v1.2.3