diff --git a/src/usermanager.cpp b/src/usermanager.cpp index 20247ba8ac512544549838c736dd35abce7c741b..64e1d1c32c7ea0d97e341c2ed94055252babbb11 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -203,12 +203,6 @@ void UserManager::handlePresence(Swift::Presence::ref presence) { response->setFrom(presence->getTo()); response->setType(Swift::Presence::Subscribe); m_component->getStanzaChannel()->sendPresence(response); - - response = Swift::Presence::create(); - response->setTo(presence->getFrom()); - response->setFrom(presence->getTo()); - response->setType(Swift::Presence::Subscribed); - m_component->getStanzaChannel()->sendPresence(response); } // Set user offline in database