diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-08-28 09:48:59 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-08-28 09:48:59 (GMT) |
commit | 2faca4242e4de2568eb917df83fd1b9c21f33897 (patch) | |
tree | 9bcf4aed472f9055971e9ff0dd74bd0c7ca73ff9 | |
parent | a9d22136fc81516b3b870f76efae2eb818e89122 (diff) | |
download | swift-2faca4242e4de2568eb917df83fd1b9c21f33897.zip swift-2faca4242e4de2568eb917df83fd1b9c21f33897.tar.bz2 |
Remove relaxation of not checking JIDs if the IQRouter's JID isn't set.
-rw-r--r-- | Swiften/Queries/Request.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Swiften/Queries/Request.cpp b/Swiften/Queries/Request.cpp index 7832c65..95fd25e 100644 --- a/Swiften/Queries/Request.cpp +++ b/Swiften/Queries/Request.cpp @@ -76,10 +76,6 @@ bool Request::isCorrectSender(const JID& jid) { } bool Request::isAccountJID(const JID& jid) { - // If the router's JID is not set, we don't check anything - if (!router_->getJID().isValid()) { - return true; - } return jid.isValid() ? router_->getJID().toBare().equals(jid, JID::WithResource) : true; } |