mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +00:00
Mirroring: There was a problem that the title variable wasn't cleared so it could be fetched from a previous post.
Statusnet: The activity messages are now suppressed
This commit is contained in:
parent
e7f5f0cf20
commit
804bc7a067
6 changed files with 27 additions and 4 deletions
|
@ -1052,11 +1052,14 @@ function fbpost_fetchwall($a, $uid) {
|
|||
$_SESSION["authenticated"] = true;
|
||||
$_SESSION["uid"] = $uid;
|
||||
|
||||
unset($_REQUEST);
|
||||
$_REQUEST["type"] = "wall";
|
||||
$_REQUEST["api_source"] = true;
|
||||
$_REQUEST["profile_uid"] = $uid;
|
||||
$_REQUEST["source"] = "Facebook";
|
||||
|
||||
$_REQUEST["title"] = "";
|
||||
|
||||
$_REQUEST["body"] = (isset($item->message) ? escape_tags($item->message) : '');
|
||||
|
||||
if(isset($item->name) and isset($item->link))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue