don't process diaspora communications if no pubkey
This commit is contained in:
parent
8cfbe2c432
commit
afbc46c00f
1 changed files with 6 additions and 0 deletions
|
@ -506,6 +506,9 @@ function notifier_run($argv, $argc){
|
||||||
if(get_config('system','dfrn_only') || (! get_config('system','diaspora_enabled')) || (! $normal_mode))
|
if(get_config('system','dfrn_only') || (! get_config('system','diaspora_enabled')) || (! $normal_mode))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
if(! contact['pubkey'])
|
||||||
|
break;
|
||||||
|
|
||||||
if($target_item['verb'] === ACTIVITY_DISLIKE) {
|
if($target_item['verb'] === ACTIVITY_DISLIKE) {
|
||||||
// unsupported
|
// unsupported
|
||||||
break;
|
break;
|
||||||
|
@ -626,6 +629,9 @@ function notifier_run($argv, $argc){
|
||||||
if(get_config('system','dfrn_only') || (! get_config('system','diaspora_enabled')) || (! $normal_mode))
|
if(get_config('system','dfrn_only') || (! get_config('system','diaspora_enabled')) || (! $normal_mode))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
if(! contact['pubkey'])
|
||||||
|
break;
|
||||||
|
|
||||||
if($target_item['verb'] === ACTIVITY_DISLIKE) {
|
if($target_item['verb'] === ACTIVITY_DISLIKE) {
|
||||||
// unsupported
|
// unsupported
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue