mirror of
https://github.com/friendica/friendica
synced 2024-11-18 22:23:42 +00:00
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']);
|
unset($status['title']);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($status['sender']['uid'])) {
|
unset($status['sender']['uid']);
|
||||||
unset($status['sender']['uid']);
|
unset($status['recipient']['uid']);
|
||||||
}
|
|
||||||
if (isset($status['recipient']['uid'])) {
|
|
||||||
unset($status['recipient']['uid']);
|
|
||||||
}
|
|
||||||
|
|
||||||
return $status;
|
return $status;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue