diff options
author | Friendika <info@friendika.com> | 2011-08-23 03:06:08 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-23 03:06:08 -0700 |
commit | afbc46c00f3fcd66603bb6b725fd687335376d2d (patch) | |
tree | 34faac2edd5cb4a3de1b48c37546b6ae72b1ba7c | |
parent | 8cfbe2c432e658fe67b0b21ba411a751f50d8f0c (diff) | |
download | volse-hubzilla-afbc46c00f3fcd66603bb6b725fd687335376d2d.tar.gz volse-hubzilla-afbc46c00f3fcd66603bb6b725fd687335376d2d.tar.bz2 volse-hubzilla-afbc46c00f3fcd66603bb6b725fd687335376d2d.zip |
don't process diaspora communications if no pubkey
-rw-r--r-- | include/notifier.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/notifier.php b/include/notifier.php index 5cbd3deb1..14057c35b 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -505,6 +505,9 @@ function notifier_run($argv, $argc){ require_once('include/diaspora.php'); if(get_config('system','dfrn_only') || (! get_config('system','diaspora_enabled')) || (! $normal_mode)) break; + + if(! contact['pubkey']) + break; if($target_item['verb'] === ACTIVITY_DISLIKE) { // unsupported @@ -625,6 +628,9 @@ function notifier_run($argv, $argc){ require_once('include/diaspora.php'); if(get_config('system','dfrn_only') || (! get_config('system','diaspora_enabled')) || (! $normal_mode)) break; + + if(! contact['pubkey']) + break; if($target_item['verb'] === ACTIVITY_DISLIKE) { // unsupported |