diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-12-26 18:16:30 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-12-26 18:16:30 (GMT) |
commit | 49d621c38effcdcc9aaafd3ee14082a2ae8278c4 (patch) | |
tree | 1140379b7a6357e2d197f09235b79f76db9d8e0b /Swiften/Queries | |
parent | a8c4b779ad2795f76769f7dae2749ef869300bee (diff) | |
download | swift-contrib-49d621c38effcdcc9aaafd3ee14082a2ae8278c4.zip swift-contrib-49d621c38effcdcc9aaafd3ee14082a2ae8278c4.tar.bz2 |
Fixed crash when searching for users.
Resolves: #730
Diffstat (limited to 'Swiften/Queries')
-rw-r--r-- | Swiften/Queries/Request.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/Queries/Request.h b/Swiften/Queries/Request.h index 5ed518d..4ed8dc2 100644 --- a/Swiften/Queries/Request.h +++ b/Swiften/Queries/Request.h @@ -26,6 +26,10 @@ namespace Swift { public: void send(); + const JID& getReceiver() const { + return receiver_; + } + protected: /** * Constructs a request of a certain type to a specific receiver, and attaches the given |