pin issue

This commit is contained in:
Mike Macgirvin 2023-06-05 05:38:16 +10:00
parent 477cf933c1
commit efa938ddfb
2 changed files with 5 additions and 4 deletions

View file

@ -1633,6 +1633,10 @@ class Libzot
}
foreach ($deliveries as $d) {
$isMyConversation = false;
$local_public = $public;
// if any further changes are to be made, change a copy and not the original
@ -1777,7 +1781,6 @@ class Libzot
$arr['item_wall'] = 0;
}
$friendofriend = false;
$isMail = (bool) (intval($arr['item_private']) === 2);
if ((!$tag_delivery) && (!$local_public)) {
@ -1837,8 +1840,6 @@ class Libzot
} else {
$allowed = true;
}
$friendofriend = true;
}
if ($isMail) {

View file

@ -54,7 +54,7 @@ class Pin extends Controller
$narr = [];
foreach ($pinned as $p) {
if ($p !== $r[0]['mid']) {
$narr[] = $r[0]['mid'];
$narr[] = $p;
}
}
} else {