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:
Michael Vogel 2013-07-19 23:34:54 +02:00
parent e7f5f0cf20
commit 804bc7a067
6 changed files with 27 additions and 4 deletions

View file

@ -678,6 +678,7 @@ function twitter_fetchtimeline($a, $uid) {
$_SESSION["authenticated"] = true;
$_SESSION["uid"] = $uid;
unset($_REQUEST);
$_REQUEST["type"] = "wall";
$_REQUEST["api_source"] = true;
$_REQUEST["profile_uid"] = $uid;
@ -685,6 +686,8 @@ function twitter_fetchtimeline($a, $uid) {
//$_REQUEST["date"] = $post->created_at;
$_REQUEST["title"] = "";
$_REQUEST["body"] = $post->text;
if (is_string($post->place->name))
$_REQUEST["location"] = $post->place->name;