]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Profile.php
Prevent multiple replacements for the same emoji in Protocol\ActivityPub\Processor...
[friendica.git] / src / Model / Profile.php
index e98f0048ee809f58b990dbc944082550618ad612..b56df5bc5fb04dad3ce6dd1873aea10295223779 100644 (file)
@@ -322,9 +322,9 @@ class Profile
                                }
                        } elseif ($profile_is_native) {
                                if ($visitor_is_following) {
-                                       $unfollow_link = $visitor_base_path . '/unfollow?url=' . urlencode($profile_url);
+                                       $unfollow_link = $visitor_base_path . '/unfollow?url=' . urlencode($profile_url) . '&auto=1';
                                } else {
-                                       $follow_link =  $visitor_base_path .'/follow?url=' . urlencode($profile_url);
+                                       $follow_link =  $visitor_base_path .'/follow?url=' . urlencode($profile_url) . '&auto=1';
                                }
                        }