New fields in contact table / don't update on probe

This commit is contained in:
Michael 2019-07-04 04:08:55 +00:00
parent 7b0a9ffd89
commit ef5be9668f
9 changed files with 39 additions and 129 deletions

View file

@ -2258,8 +2258,8 @@ class Diaspora
$fields = ['name' => $name, 'location' => $location,
'name-date' => DateTimeFormat::utcNow(),
'about' => $about, 'gender' => $gender,
'addr' => $author, 'nick' => $nick,
'keywords' => $keywords];
'addr' => $author, 'nick' => $nick, 'keywords' => $keywords,
'unsearchable' => !$searchable, 'sensitive' => $nsfw];
if (!empty($birthday)) {
$fields['bd'] = $birthday;