1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 19:30:21 +02:00

Mark peer as offline when we get a message from a peer that we knew about but is gone

This commit is contained in:
Leo Franchi
2011-10-16 15:30:59 -04:00
parent 3b46f3fe32
commit 840460d960

View File

@@ -660,6 +660,8 @@ void JabberPlugin::onPresenceReceived( const Jreen::RosterItem::Ptr &item, const
else if( !caps )
{
// qDebug() << Q_FUNC_INFO << "Running tomahawk: no" << "no caps";
if ( presenceMeansOnline( m_peers[ jid ] ) )
handlePeerStatus( jid, Jreen::Presence::Unavailable );
}
}