summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_thread.cpp')
-rw-r--r--protocols/JabberG/src/jabber_thread.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp
index eb8d34d2c9..02a5bc4b28 100644
--- a/protocols/JabberG/src/jabber_thread.cpp
+++ b/protocols/JabberG/src/jabber_thread.cpp
@@ -1597,15 +1597,6 @@ void CJabberProto::OnProcessPresence(const TiXmlElement *node, ThreadData *info)
hContact = DBCreateContact(from, nick, true, true);
}
- if (hContact && m_bUseOMEMO) {
- XmlNodeIq iq(AddIQ(&CJabberProto::OnIqResultGetOmemodevicelist, JABBER_IQ_TYPE_GET));
- iq << XATTR("from", szBareOurJid);
- iq << XATTR("to", szBareFrom);
- iq << XCHILDNS("pubsub", "http://jabber.org/protocol/pubsub")
- << XCHILD("items") << XATTR("node", JABBER_FEAT_OMEMO ".devicelist");
- m_ThreadInfo->send(iq);
- }
-
if (!ListGetItemPtr(LIST_ROSTER, from)) {
debugLogA("Receive presence online from %s (who is not in my roster)", from);
ListAdd(LIST_ROSTER, from, hContact);