aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-10-13 07:25:33 +0000
committerMario <mario@mariovavti.com>2020-10-13 07:25:33 +0000
commite12f375624d980702e0ae81cdd161c77ccd527ca (patch)
tree06b6165198a030253b714c874498ce2a5a8ddacc /Zotlabs
parent8cd67a5d4a7072034df581e8ce212f1d24055348 (diff)
downloadvolse-hubzilla-e12f375624d980702e0ae81cdd161c77ccd527ca.tar.gz
volse-hubzilla-e12f375624d980702e0ae81cdd161c77ccd527ca.tar.bz2
volse-hubzilla-e12f375624d980702e0ae81cdd161c77ccd527ca.zip
return if author or owner is missing and add more logging
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Lib/Activity.php13
1 files changed, 10 insertions, 3 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index 4886f9239..6d12f7ea1 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -2499,11 +2499,17 @@ class Activity {
$item['author_xchan'] = self::find_best_identity($item['author_xchan']);
$item['owner_xchan'] = self::find_best_identity($item['owner_xchan']);
- if(! ( $item['author_xchan'] && $item['owner_xchan'])) {
- logger('owner or author missing.');
- return;
+ if(!$item['author_xchan']) {
+ logger('No author: ' . print_r($act, true));
}
+ if(!$item['owner_xchan']) {
+ logger('No owner: ' . print_r($act, true));
+ }
+
+ if(!$item['author_xchan'] || !$item['owner_xchan'])
+ return;
+
if($channel['channel_system']) {
if(! MessageFilter::evaluate($item,get_config('system','pubstream_incl'),get_config('system','pubstream_excl'))) {
logger('post is filtered');
@@ -2699,6 +2705,7 @@ class Activity {
static public function fetch_and_store_replies($channel, $arr) {
logger('fetching replies');
+ logger(print_r($arr,true));
$p = [];