Renamed the contact relationship functions

This commit is contained in:
Michael 2018-01-28 17:26:39 +00:00
parent 2cb74909c0
commit bdbfffafea
4 changed files with 10 additions and 10 deletions

View file

@ -456,12 +456,12 @@ class OStatus
}
if ($item["verb"] == ACTIVITY_FOLLOW) {
Contact::newFollower($importer, $contact, $item, $nickname);
Contact::addRelationship($importer, $contact, $item, $nickname);
continue;
}
if ($item["verb"] == NAMESPACE_OSTATUS."/unfollow") {
Contact::loseFollower($importer, $contact, $item, $dummy);
Contact::removeFollower($importer, $contact, $item, $dummy);
continue;
}