mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-07 06:36:55 +02:00
xmpp: check for error presences in AvatarManager
This commit is contained in:
@@ -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