summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/libiris/iris/xmpp-im/client.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-06 19:10:00 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-06 19:10:00 +0000
commita7d8c5aa21a1470dbab6f4d8c31292e402d8bdf0 (patch)
tree3d0c3ec0f8f6bfa1789343625585f101f5b87d26 /kopete/protocols/jabber/libiris/iris/xmpp-im/client.cpp
parent6f832f84419698dd02876e27c042793630d0a4df (diff)
downloadtdenetwork-a7d8c5aa21a1470dbab6f4d8c31292e402d8bdf0.tar.gz
tdenetwork-a7d8c5aa21a1470dbab6f4d8c31292e402d8bdf0.zip
Fix kdenetwork FTBFS
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1251871 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/jabber/libiris/iris/xmpp-im/client.cpp')
-rw-r--r--kopete/protocols/jabber/libiris/iris/xmpp-im/client.cpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/kopete/protocols/jabber/libiris/iris/xmpp-im/client.cpp b/kopete/protocols/jabber/libiris/iris/xmpp-im/client.cpp
index fcd73029..973b6c73 100644
--- a/kopete/protocols/jabber/libiris/iris/xmpp-im/client.cpp
+++ b/kopete/protocols/jabber/libiris/iris/xmpp-im/client.cpp
@@ -1521,35 +1521,3 @@ LiveRoster::ConstIterator LiveRoster::find(const Jid &j, bool compareRes) const
}
}
-
-//----------------------------------------------------------------------------
-// PongServer
-//----------------------------------------------------------------------------
-/**
- * \class PongServer
- * \brief Answers XMPP Pings
- */
-
-PongServer::PongServer(Task *parent)
-:Task(parent)
-{
-}
-
-PongServer::~PongServer()
-{
-}
-
-bool PongServer::take(const TQDomElement &e)
-{
- if (e.tagName() != "iq" || e.attribute("type") != "get")
- return false;
-
- bool found = false;
- TQDomElement ping = findSubTag(e, "ping", &found);
- if (found && ping.attribute("xmlns") == "urn:xmpp:ping") {
- TQDomElement iq = createIQ(doc(), "result", e.attribute("from"), e.attribute("id"));
- send(iq);
- return true;
- }
- return false;
-}