Merge pull request #749 from annando/notices

Statusnet: One notice removed
This commit is contained in:
Hypolite Petovan 2018-10-13 19:32:39 -04:00 committed by GitHub
commit 5b01292e68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1381,7 +1381,7 @@ function statusnet_complete_conversation(App $a, $uid, $self, $create_user, $nic
foreach ($posts as $post) {
$postarray = statusnet_createpost($a, $uid, $post, $self, false, false);
if (trim($postarray['body']) == "") {
if (empty($postarray['body'])) {
continue;
}