summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-10-04 19:00:00 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-10-04 19:00:00 (GMT)
commit537afef23b0f5da31c0cd38597a13773d79f77d4 (patch)
tree0dc01901e0b2a2aad5851b30f512db07d54d3706 /Swiften/Client/Client.h
parent56498f72ef1fbba08ef48c0cd91867786977c4d1 (diff)
downloadswift-contrib-537afef23b0f5da31c0cd38597a13773d79f77d4.zip
swift-contrib-537afef23b0f5da31c0cd38597a13773d79f77d4.tar.bz2
Implement getBoundJID() (as getJID())
Resolves: #582
Diffstat (limited to 'Swiften/Client/Client.h')
-rw-r--r--Swiften/Client/Client.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Swiften/Client/Client.h b/Swiften/Client/Client.h
index ca729a7..e046b3c 100644
--- a/Swiften/Client/Client.h
+++ b/Swiften/Client/Client.h
@@ -55,7 +55,13 @@ namespace Swift {
return iqRouter_;
}
- JID getBoundJID();
+ /**
+ * Returns the JID of the client.
+ * After the session was initialized, this returns the bound JID.
+ */
+ const JID& getJID() const {
+ return jid_;
+ }
public:
boost::signal<void (const ClientError&)> onError;