From cf87653a922f3b7f6132a00bb77293ae9e7a66c1 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 12 Sep 2013 22:50:41 -0700 Subject: need to figure out what's causing this --- include/zot.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/zot.php') diff --git a/include/zot.php b/include/zot.php index e395e88f6..f34344739 100644 --- a/include/zot.php +++ b/include/zot.php @@ -844,6 +844,12 @@ function zot_import($arr) { } else { + if((array_key_exists('flags',$i['message'])) && (in_array('private',$i['message']['flags']))) { + // This should not happen but until we can stop it... + logger('private message was delivered with no recipients.'); + continue; + } + logger('public post'); // Public post. look for any site members who are or may be accepting posts from this sender -- cgit v1.2.3