From de7b4746279d359674f0cbdf1f90949f438db778 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 15 Jan 2023 17:50:17 +0300 Subject: grrrm --- protocols/Telegram/src/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Telegram/src/server.cpp') diff --git a/protocols/Telegram/src/server.cpp b/protocols/Telegram/src/server.cpp index 2f40be0871..690f18295b 100644 --- a/protocols/Telegram/src/server.cpp +++ b/protocols/Telegram/src/server.cpp @@ -84,7 +84,7 @@ void CMTProto::SendKeepAlive() if (it->m_timer1 && now - it->m_timer1 > STATUS_SWITCH_TIMEOUT) { it->m_timer1 = 0; it->m_timer2 = now; - setWord(it->hContact, "Status", ID_STATUS_AWAY); + setWord(it->hContact, "Status", ID_STATUS_NA); } else if (it->m_timer2 && now - it->m_timer2 > STATUS_SWITCH_TIMEOUT) { it->m_timer2 = 0; -- cgit v1.2.3