diff --git a/src/transport.cpp b/src/transport.cpp index 4695b9a2c63441bf6c2e93bdf9629f278ec3bfb1..3d79ae864e76ee2f9d018790746e6ac1377beaf6 100644 --- a/src/transport.cpp +++ b/src/transport.cpp @@ -60,6 +60,7 @@ Component::Component(Swift::EventLoop *loop, Config *config, Factory *factory) { m_reconnectCount = 0; m_config = config; m_factory = factory; + m_loop = loop; m_jid = Swift::JID(CONFIG_STRING(m_config, "service.jid"));