]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/jabber.php
Move common_avatar_* functions to Avatar
[quix0rs-gnu-social.git] / lib / jabber.php
index f1be5776813164dd5e37999d4a900d8eaf118c72..f41d984d6261a46698f11cf27de238d8698e3ce1 100644 (file)
@@ -178,7 +178,7 @@ function jabber_format_entry($profile, $notice)
     $entry .= "<link href='" . htmlspecialchars($profile->profileurl) . "'/>\n";
     $entry .= "<link rel='self' type='application/rss+xml' href='" . $self_url . "'/>\n";
     $entry .= "<author><name>" . $profile->nickname . "</name></author>\n";
-    $entry .= "<icon>" . common_profile_avatar_url($profile, AVATAR_PROFILE_SIZE) . "</icon>\n";
+    $entry .= "<icon>" . $profile->avatarUrl(AVATAR_PROFILE_SIZE) . "</icon>\n";
     $entry .= "</source>\n";
     $entry .= "<title>" . htmlspecialchars($msg) . "</title>\n";
     $entry .= "<summary>" . htmlspecialchars($msg) . "</summary>\n";