Merge branch 'api-direct-messages' of github.com:annando/friendica into api-direct-messages
This commit is contained in:
commit
da95e899d9
|
@ -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