summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Queries/Request.h')
-rw-r--r--Swiften/Queries/Request.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swiften/Queries/Request.h b/Swiften/Queries/Request.h
index 19687c1..a7139cf 100644
--- a/Swiften/Queries/Request.h
+++ b/Swiften/Queries/Request.h
@@ -53,18 +53,20 @@ namespace Swift {
boost::shared_ptr<Payload> getPayload() const {
return payload_;
}
virtual void handleResponse(boost::shared_ptr<Payload>, boost::shared_ptr<ErrorPayload>) = 0;
private:
bool handleIQ(boost::shared_ptr<IQ>);
+ bool isCorrectSender(const JID& jid);
+ bool isAccountJID(const JID& jid);
private:
IQRouter* router_;
IQ::Type type_;
JID receiver_;
boost::shared_ptr<Payload> payload_;
std::string id_;
bool sent_;
};