mirror of
https://github.com/friendica/friendica
synced 2025-05-08 19:44:10 +02:00
Renamed the contact relationship functions
This commit is contained in:
parent
2cb74909c0
commit
bdbfffafea
4 changed files with 10 additions and 10 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue