Fix for missing username in uri for comments to public posts

pull/5384/head
Michael 2018-07-16 03:56:36 +00:00
rodzic d3a2ed85fe
commit 988a868f90
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -577,7 +577,7 @@ function item_post(App $a) {
$notify_type = ($parent ? 'comment-new' : 'wall-new');
$uri = ($message_id ? $message_id : Item::newURI($profile_uid, $guid));
$uri = ($message_id ? $message_id : Item::newURI($api_source ? $profile_uid : $uid, $guid));
// Fallback so that we alway have a parent uri
if (!$thr_parent_uri || !$parent) {