Browse Source

Merge pull request #5384 from annando/item-uri

Fix for missing username in uri for comments to public posts
pull/5387/head
Tobias Diekershoff 3 years ago
committed by GitHub
parent
commit
92104d7b85
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      mod/item.php

2
mod/item.php

@ -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) {

Loading…
Cancel
Save