diff options
Diffstat (limited to 'Swiften')
-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; } |