diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-10-21 20:21:45 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-10-21 20:21:45 (GMT) |
commit | af61db1e108d17afcf84a97492dd6b79426688ec (patch) | |
tree | fd765135ebbb67be56ea4eefbfed73c05c00d214 /Swiften/Component | |
parent | d0c2985c34b65f0d85d35948bb0cfadd3b2af7bd (diff) | |
download | swift-contrib-af61db1e108d17afcf84a97492dd6b79426688ec.zip swift-contrib-af61db1e108d17afcf84a97492dd6b79426688ec.tar.bz2 |
Make sure Component always sets 'from' on outgoing IQ stanzas.
Diffstat (limited to 'Swiften/Component')
-rw-r--r-- | Swiften/Component/CoreComponent.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/Component/CoreComponent.cpp b/Swiften/Component/CoreComponent.cpp index 2f0752a..c9d9051 100644 --- a/Swiften/Component/CoreComponent.cpp +++ b/Swiften/Component/CoreComponent.cpp @@ -30,6 +30,7 @@ CoreComponent::CoreComponent(const JID& jid, const String& secret) : jid_(jid), stanzaChannel_->onAvailableChanged.connect(boost::bind(&CoreComponent::handleStanzaChannelAvailableChanged, this, _1)); iqRouter_ = new IQRouter(stanzaChannel_); + iqRouter_->setFrom(jid); connectionFactory_ = new BoostConnectionFactory(&MainBoostIOServiceThread::getInstance().getIOService()); timerFactory_ = new BoostTimerFactory(&MainBoostIOServiceThread::getInstance().getIOService()); tlsLayerFactory_ = new NullTLSLayerFactory(); |