mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 22:26:32 +02:00
xmpp: check for error presences in AvatarManager
This commit is contained in:
committed by
Leo Franchi
parent
6fa2ad19ee
commit
20b62bfba3
@@ -73,6 +73,11 @@ AvatarManager::fetchVCard( const QString& jid )
|
||||
void
|
||||
AvatarManager::onNewPresence( const Jreen::Presence& presence )
|
||||
{
|
||||
if ( presence.error() )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Jreen::VCardUpdate::Ptr update = presence.payload<Jreen::VCardUpdate>();
|
||||
if ( update )
|
||||
{
|
||||
|
Reference in New Issue
Block a user