Browse Source

don't process diaspora communications if no pubkey

pull/1/head
Friendika 9 years ago
parent
commit
afbc46c00f
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      include/notifier.php

+ 6
- 0
include/notifier.php View File

@ -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


Loading…
Cancel
Save