diff options
author | George Hazan <george.hazan@gmail.com> | 2024-10-14 16:16:07 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-10-14 16:16:07 +0300 |
commit | 29af90eb23768e9eb2c29091fefaaa10c78ff8cd (patch) | |
tree | 4340315d8f1078db570e0558c44cc12d6647c8c7 /protocols/JabberG/src/jabber_util.cpp | |
parent | b05ce4acd28f460336dc33d32e5dd503574da29c (diff) |
more code cleaning
Diffstat (limited to 'protocols/JabberG/src/jabber_util.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)
|