Update src/Object/Api/Twitter/DirectMessage.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Michael Vogel 2021-12-17 15:48:03 +01:00 committed by GitHub
parent c18bda9397
commit 85d68a001a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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