From 29af90eb23768e9eb2c29091fefaaa10c78ff8cd Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 14 Oct 2024 16:16:07 +0300 Subject: more code cleaning --- protocols/JabberG/src/jabber_util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols') diff --git a/protocols/JabberG/src/jabber_util.cpp b/protocols/JabberG/src/jabber_util.cpp index 1f750bc08c..43fa76a620 100644 --- a/protocols/JabberG/src/jabber_util.cpp +++ b/protocols/JabberG/src/jabber_util.cpp @@ -378,7 +378,7 @@ void CJabberProto::SendVisibleInvisiblePresence(bool invisible) if (hContact == 0) continue; - uint16_t apparentMode = getWord(hContact, "ApparentMode", 0); + uint16_t apparentMode = getWord(hContact, "ApparentMode"); if (invisible && apparentMode == ID_STATUS_OFFLINE) m_ThreadInfo->send(XmlNode("presence") << XATTR("to", item->jid) << XATTR("type", "invisible")); else if (!invisible && apparentMode == ID_STATUS_ONLINE) -- cgit v1.2.3