summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-06-05 14:13:42 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-06-05 14:13:42 +0300
commit6b2e0c335a3abf36a858407786e16b1f64e388a8 (patch)
treea492be55d0b8275792c4ba7d22485815db450000
parentf5cc4bc0912c67c76e2c7ca98a95b27784cc00d1 (diff)
code cleaning
-rw-r--r--protocols/JabberG/src/jabber_thread.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp
index 7c7ad3e2dc..152a0d0924 100644
--- a/protocols/JabberG/src/jabber_thread.cpp
+++ b/protocols/JabberG/src/jabber_thread.cpp
@@ -1059,10 +1059,9 @@ void CJabberProto::OnProcessMessage(const TiXmlElement *node, ThreadData *info)
pResourceStatus pFromResource(ResourceInfoFromJID(from));
// Message receipts delivery request. Reply here, before a call to HandleMessagePermanent() to make sure message receipts are handled for external plugins too.
- bool bSendMark = false;
if (bEnableDelivery && (!type || mir_strcmpi(type, "error"))) {
bool bSendReceipt = XmlGetChildByTag(node, "request", "xmlns", JABBER_FEAT_MESSAGE_RECEIPTS) != 0;
- bSendMark = XmlGetChildByTag(node, "markable", "xmlns", JABBER_FEAT_CHAT_MARKERS) != 0;
+ bool bSendMark = XmlGetChildByTag(node, "markable", "xmlns", JABBER_FEAT_CHAT_MARKERS) != 0;
if (bSendReceipt || bSendMark) {
XmlNode reply("message"); reply << XATTR("to", from) << XATTR("id", idStr);
if (bSendReceipt) {