mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 22:26:32 +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:
@@ -660,6 +660,8 @@ void JabberPlugin::onPresenceReceived( const Jreen::RosterItem::Ptr &item, const
|
|||||||
else if( !caps )
|
else if( !caps )
|
||||||
{
|
{
|
||||||
// qDebug() << Q_FUNC_INFO << "Running tomahawk: no" << "no caps";
|
// qDebug() << Q_FUNC_INFO << "Running tomahawk: no" << "no caps";
|
||||||
|
if ( presenceMeansOnline( m_peers[ jid ] ) )
|
||||||
|
handlePeerStatus( jid, Jreen::Presence::Unavailable );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user