Diaspora: Support account migration

This commit is contained in:
Michael 2017-10-13 09:22:05 +00:00
parent 6a7b3f19ae
commit 09020192d6
4 changed files with 72 additions and 20 deletions

View file

@ -508,6 +508,9 @@ function delivery_run(&$argv, &$argc){
logger('diaspora retract: '.$loc);
Diaspora::send_retraction($target_item,$owner,$contact,$public_message);
break;
} elseif ($relocate) {
Diaspora::sendAccountMigration($owner, $uid);
break;
} elseif ($followup) {
// send comments and likes to owner to relay
logger('diaspora followup: '.$loc);