diff options
Diffstat (limited to 'protocols/JabberG/src/jabber_caps.cpp')
| -rw-r--r-- | protocols/JabberG/src/jabber_caps.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_caps.cpp b/protocols/JabberG/src/jabber_caps.cpp index dea74127ce..5a71713436 100644 --- a/protocols/JabberG/src/jabber_caps.cpp +++ b/protocols/JabberG/src/jabber_caps.cpp @@ -342,6 +342,8 @@ JabberCapsBits CJabberProto::GetOwnCaps(bool IncludeDynamic) for (auto &it : m_lstJabberFeatCapPairsDynamic)
jcb |= it->jcbCap;
+ if (!m_bAllowLast)
+ jcb &= ~JABBER_CAPS_LAST_ACTIVITY;
if (!m_bAllowTimeReplies)
jcb &= ~JABBER_CAPS_ENTITY_TIME;
if (!m_bAllowVersionRequests)
|
