aboutsummaryrefslogtreecommitdiffstats
path: root/include/api.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-05-27 05:27:35 -0700
committerfriendica <info@friendica.com>2013-05-27 05:27:35 -0700
commitdf32c93d562f0dfcc28ebf36723ef07dab630b90 (patch)
tree9ccbff9a691d896409c23024502b3a11e3e1db9c /include/api.php
parent5c1f959c1828066358ec868ffb953e88f16195c6 (diff)
downloadvolse-hubzilla-df32c93d562f0dfcc28ebf36723ef07dab630b90.tar.gz
volse-hubzilla-df32c93d562f0dfcc28ebf36723ef07dab630b90.tar.bz2
volse-hubzilla-df32c93d562f0dfcc28ebf36723ef07dab630b90.zip
zidify img links, delay notifier until actually published for time travelling posts
Diffstat (limited to 'include/api.php')
-rw-r--r--include/api.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/api.php b/include/api.php
index e6140b120..9efee4178 100644
--- a/include/api.php
+++ b/include/api.php
@@ -535,7 +535,11 @@ require_once('include/security.php');
}
if($_SERVER['REQUEST_METHOD'] == 'POST') {
- json_return_and_die(post_activity_item($_POST));
+ json_return_and_die(post_activity_item($_REQUEST));
+ }
+ else {
+ // fetch stream
+
}
}
api_register_func('api/red/channel/stream','api_channel_stream', true);