diff options
author | George Hazan <george.hazan@gmail.com> | 2024-12-15 20:37:52 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-12-15 20:37:52 +0300 |
commit | 41dd36073f850e180d23924b3a6f7749ccd17e4a (patch) | |
tree | 71624f107ee0200c824979bb70db257cc44870a0 /protocols/Telegram/src | |
parent | 88500a00ea529173f7dc5c4e560211e28a9d9701 (diff) |
Telegram: fake Away & N/A statuses became available for an account to allow Telegram to 'sleep'
Diffstat (limited to 'protocols/Telegram/src')
-rw-r--r-- | protocols/Telegram/src/proto.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; |