aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-12-07 16:01:54 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-12-07 16:01:54 -0800
commit8b974f8f74f6eefc5955a0f9e385f6460504fc42 (patch)
treef73a10571b7b0487aaa15a574fe8ea29a6dce225 /mod
parent53627c89a716fcd9bac535169710e65b229e96a5 (diff)
downloadvolse-hubzilla-8b974f8f74f6eefc5955a0f9e385f6460504fc42.tar.gz
volse-hubzilla-8b974f8f74f6eefc5955a0f9e385f6460504fc42.tar.bz2
volse-hubzilla-8b974f8f74f6eefc5955a0f9e385f6460504fc42.zip
abstract the message handlers
Diffstat (limited to 'mod')
-rw-r--r--mod/post.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/post.php b/mod/post.php
index 6885b0d69..d1a53e7a6 100644
--- a/mod/post.php
+++ b/mod/post.php
@@ -486,8 +486,9 @@ function post_init(&$a) {
function post_post(&$a) {
require_once('Zotlabs/Zot/Receiver.php');
+ require_once('Zotlabs/Zot/ZotHandler.php');
- $z = new Zotlabs\Zot\Receiver($_REQUEST['data'],get_config('system','prvkey'));
+ $z = new Zotlabs\Zot\Receiver($_REQUEST['data'],get_config('system','prvkey'), new Zotlabs\Zot\ZotHandler());
// notreached;