aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-12 22:50:41 -0700
committerfriendica <info@friendica.com>2013-09-12 22:50:41 -0700
commitcf87653a922f3b7f6132a00bb77293ae9e7a66c1 (patch)
tree66fee8d0b5f09f092d40b837af72d2e570ddec88
parente9ea80f2f62a2ab53f5b6d74792de6b08fd98a03 (diff)
downloadvolse-hubzilla-cf87653a922f3b7f6132a00bb77293ae9e7a66c1.tar.gz
volse-hubzilla-cf87653a922f3b7f6132a00bb77293ae9e7a66c1.tar.bz2
volse-hubzilla-cf87653a922f3b7f6132a00bb77293ae9e7a66c1.zip
need to figure out what's causing this
-rw-r--r--include/zot.php6
1 files changed, 6 insertions, 0 deletions
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