X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fconversation.php;h=507add97d61ef5f79a9c8db6bc0c21431dea1616;hb=a2532ad7554602d631d9caabb5c74564328d1fff;hp=1cb2c745cc50a058a45d5382eb2a3d3cb1e2e543;hpb=9a0c3cc834aa01cc76fdf60d30bf69824abe602c;p=friendica.git diff --git a/include/conversation.php b/include/conversation.php index 1cb2c745cc..507add97d6 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -312,7 +312,7 @@ function conversation(App $a, array $items, $mode, $update, $preview = false, $o . "'; \r\n"; } } elseif ($mode === 'profile') { - $items = conversation_add_children($items, false, $order, $uid); + $items = conversation_add_children($items, false, $order, local_user()); if (!$update) { $tab = 'posts'; @@ -400,7 +400,7 @@ function conversation(App $a, array $items, $mode, $update, $preview = false, $o $formSecurityToken = BaseModule::getFormSecurityToken('contact_action'); if (!empty($items)) { - if (in_array($mode, ['community', 'contacts'])) { + if (in_array($mode, ['community', 'contacts', 'profile'])) { $writable = true; } else { $writable = ($items[0]['uid'] == 0) && in_array($items[0]['network'], Protocol::FEDERATED);