mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 06:35:15 +00:00
pin issue
This commit is contained in:
parent
477cf933c1
commit
efa938ddfb
2 changed files with 5 additions and 4 deletions
|
@ -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) {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue