Merge branch 'api-direct-messages' of github.com:annando/friendica into api-direct-messages

This commit is contained in:
Michael 2021-12-17 14:52:57 +00:00
commit da95e899d9

View File

@ -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;
}