This commit is contained in:
Philipp Holzer
2019-10-25 00:10:20 +02:00
parent a83dfc11a0
commit 3897c74deb
21 changed files with 439 additions and 122 deletions

View File

@@ -828,7 +828,7 @@ class Contact extends BaseObject
} elseif (in_array($protocol, [Protocol::OSTATUS, Protocol::DFRN])) {
// create an unfollow slap
$item = [];
$item['verb'] = Activity\ANamespace::OSTATUS . "/unfollow";
$item['verb'] = Activity::O_UNFOLLOW;
$item['follow'] = $contact["url"];
$item['body'] = '';
$item['title'] = '';