summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-10-01 12:27:42 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-10-01 12:27:42 (GMT)
commit54f39d8a474ce1df33d94daff204abc865f0fb02 (patch)
treef09d3e6894d9186264737c991e2be1f0f42767b7 /Swiften
parenta9a3aa76610ba33d571c8d0aee963668a7a00961 (diff)
downloadswift-contrib-54f39d8a474ce1df33d94daff204abc865f0fb02.zip
swift-contrib-54f39d8a474ce1df33d94daff204abc865f0fb02.tar.bz2
Update IQRouter JID after session was authenticated.
Resolves: #971
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/Client/CoreClient.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/Client/CoreClient.cpp b/Swiften/Client/CoreClient.cpp
index a223e3d..f6a3f20 100644
--- a/Swiften/Client/CoreClient.cpp
+++ b/Swiften/Client/CoreClient.cpp
@@ -277,6 +277,7 @@ void CoreClient::handleDataWritten(const SafeByteArray& data) {
void CoreClient::handleStanzaChannelAvailableChanged(bool available) {
if (available) {
+ iqRouter_->setJID(session_->getLocalJID());
handleConnected();
onConnected();
}