aboutsummaryrefslogtreecommitdiffstats
path: root/mod/post.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-12-06 19:16:38 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-12-06 19:16:38 -0800
commit4ccd9ae6da2f4fbed45af80a11b53c8b4efd9ceb (patch)
treeaec9c03787e0117554f71b4fe86ab26dda71f026 /mod/post.php
parent3f920da4137ecb91b3aeb2683f2e2b59b4d088cc (diff)
downloadvolse-hubzilla-4ccd9ae6da2f4fbed45af80a11b53c8b4efd9ceb.tar.gz
volse-hubzilla-4ccd9ae6da2f4fbed45af80a11b53c8b4efd9ceb.tar.bz2
volse-hubzilla-4ccd9ae6da2f4fbed45af80a11b53c8b4efd9ceb.zip
start of v4
Diffstat (limited to 'mod/post.php')
-rw-r--r--mod/post.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/mod/post.php b/mod/post.php
index 4c52de44a..1842d78ca 100644
--- a/mod/post.php
+++ b/mod/post.php
@@ -483,6 +483,14 @@ function post_init(&$a) {
*/
function post_post(&$a) {
+ require_once('Zotlabs/Zot/Receiver.php');
+
+ $z = new Zotlabs\Zot\Receiver($_REQUEST['data'],get_config('system','prvkey'));
+
+ // notreached;
+
+exit;
+
$encrypted_packet = false;
$ret = array('success' => false);
@@ -651,7 +659,6 @@ function post_post(&$a) {
/* pickup: end */
}
-
/*
* All other message types require us to verify the sender. This is a generic check, so we
* will do it once here and bail if anything goes wrong.