Merge branch 'api-direct-messages' of github.com:annando/friendica into api-direct-messages
This commit is contained in:
commit
da95e899d9
1 changed files with 2 additions and 6 deletions
|
@ -92,12 +92,8 @@ class DirectMessage extends BaseDataTransferObject
|
|||
unset($status['title']);
|
||||
}
|
||||
|
||||
if (isset($status['sender']['uid'])) {
|
||||
unset($status['sender']['uid']);
|
||||
}
|
||||
if (isset($status['recipient']['uid'])) {
|
||||
unset($status['recipient']['uid']);
|
||||
}
|
||||
unset($status['sender']['uid']);
|
||||
unset($status['recipient']['uid']);
|
||||
|
||||
return $status;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue