]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/User.php
Merge pull request #5561 from MrPetovan/bug/4584-fix-twitter-gif-still-image
[friendica.git] / src / Model / User.php
index c272d4c6cea6e1c2cc0ebfdc7827d8c7bf8da3be..3fbbc6e86b13496f27e86595451ff20e4ddc386e 100644 (file)
@@ -729,7 +729,8 @@ class User
                Worker::add(PRIORITY_HIGH, "Notifier", "removeme", $uid);
 
                // Send an update to the directory
-               Worker::add(PRIORITY_LOW, "Directory", $user['url']);
+               $self = DBA::selectFirst('contact', ['url'], ['uid' => $uid, 'self' => true]);
+               Worker::add(PRIORITY_LOW, "Directory", $self['url']);
 
                if ($uid == local_user()) {
                        unset($_SESSION['authenticated']);