diff --git a/src/user.cpp b/src/user.cpp index eb79cbb10cc86451702205cfcacd8973aaf2257d..43234bcff64f7c0d17ab4fd2cad31419b11a21df 100644 --- a/src/user.cpp +++ b/src/user.cpp @@ -237,6 +237,9 @@ void User::handlePresence(Swift::Presence::ref presence, bool forceJoin) { return; } } + else { + return; + } if (getUserSetting("stay_connected") != "1") { LOG4CXX_INFO(logger, m_jid.toString() << ": Going to left room " << room);