Issue 4200: Adding new contacts not possible
This commit is contained in:
parent
d23c1c0da7
commit
fa9b7a4dcc
1 changed files with 15 additions and 15 deletions
|
@ -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 a new issue