mirror of
https://github.com/friendica/friendica
synced 2024-11-10 08:22:57 +00:00
Remote self should now finally trigger all addons
This commit is contained in:
parent
785cfbbaef
commit
3c6d83acd9
1 changed files with 4 additions and 0 deletions
|
@ -1598,6 +1598,10 @@ function item_is_remote_self($contact, &$datarray) {
|
|||
// Trigger automatic reactions for addons
|
||||
$datarray['api_source'] = true;
|
||||
|
||||
// We have to tell the hooks who we are - this really should be improved
|
||||
$_SESSION["authenticated"] = true;
|
||||
$_SESSION["uid"] = $contact['uid'];
|
||||
|
||||
unset($datarray['created']);
|
||||
unset($datarray['edited']);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue