Merge pull request #4204 from annando/issue-4200
Issue 4200: Adding new contacts not possible
This commit is contained in:
commit
b8fc30e061
|
@ -1227,21 +1227,21 @@ class Contact extends BaseObject
|
||||||
'addr' => $ret['addr'],
|
'addr' => $ret['addr'],
|
||||||
'alias' => $ret['alias'],
|
'alias' => $ret['alias'],
|
||||||
'batch' => $ret['batch'],
|
'batch' => $ret['batch'],
|
||||||
`notify` => $ret['notify'],
|
'notify' => $ret['notify'],
|
||||||
`poll` => $ret['poll'],
|
'poll' => $ret['poll'],
|
||||||
`poco` => $ret['poco'],
|
'poco' => $ret['poco'],
|
||||||
`name` => $ret['name'],
|
'name' => $ret['name'],
|
||||||
`nick` => $ret['nick'],
|
'nick' => $ret['nick'],
|
||||||
`network` => $ret['network'],
|
'network' => $ret['network'],
|
||||||
`pubkey` => $ret['pubkey'],
|
'pubkey' => $ret['pubkey'],
|
||||||
`rel` => $new_relation,
|
'rel' => $new_relation,
|
||||||
`priority` => $ret['priority'],
|
'priority' => $ret['priority'],
|
||||||
`writable` => $writeable,
|
'writable' => $writeable,
|
||||||
`hidden` => $hidden,
|
'hidden' => $hidden,
|
||||||
`blocked` => 0,
|
'blocked' => 0,
|
||||||
`readonly` => 0,
|
'readonly' => 0,
|
||||||
`pending` => 0,
|
'pending' => 0,
|
||||||
`subhub` => $subhub
|
'subhub' => $subhub
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user