diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/items.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php index dc9e9a7d9..d541bc8f8 100644 --- a/include/items.php +++ b/include/items.php @@ -2951,12 +2951,11 @@ function tgroup_check($uid, $item) { // post to group via DM if ($is_group) { - if (intval($item['item_private']) === 2 && $item['mid'] === $item['parent_mid']) { + if (intval($item['item_private']) === 2 && $item['mid'] === $item['parent_mid'] && perm_is_allowed($uid, $item['owner_xchan'], 'post_wall')) { return true; } } - // see if we already have this item. Maybe it is being updated. $r = q("select id from item where mid = '%s' and uid = %d limit 1", |