From 41dd36073f850e180d23924b3a6f7749ccd17e4a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 15 Dec 2024 20:37:52 +0300 Subject: Telegram: fake Away & N/A statuses became available for an account to allow Telegram to 'sleep' --- protocols/Telegram/src/proto.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'protocols/Telegram/src/proto.cpp') diff --git a/protocols/Telegram/src/proto.cpp b/protocols/Telegram/src/proto.cpp index efb92742fb..b0ce821946 100644 --- a/protocols/Telegram/src/proto.cpp +++ b/protocols/Telegram/src/proto.cpp @@ -654,6 +654,8 @@ int CTelegramProto::SetStatus(int iNewStatus) // Routing statuses not supported by Telegram switch (iNewStatus) { case ID_STATUS_OFFLINE: + case ID_STATUS_AWAY: + case ID_STATUS_NA: m_iDesiredStatus = iNewStatus; break; -- cgit v1.2.3