Photo::setPermissionFromBody($body, local_user(), $me['id'], '<' . $contact['id'] . '>', '', '', '');
$guid = System::createUUID();
- $uri = Item::newURI(local_user(), $guid);
+ $uri = Item::newURI($guid);
$convid = 0;
$reply = false;
}
if (!$convid) {
- Logger::notice('send message: conversation not found.');
+ Logger::warning('conversation not found.');
return -4;
}
}
$guid = System::createUUID();
- $uri = Item::newURI(local_user(), $guid);
+ $uri = Item::newURI($guid);
$me = Contact::getByURL($replyto);
if (!$me['name']) {
}
if (!$convid) {
- Logger::notice('send message: conversation not found.');
+ Logger::warning('conversation not found.');
return -4;
}