mirror of
https://github.com/friendica/friendica
synced 2025-04-26 14:30:13 +00:00
Disable editing of public items / Reshare of community items is now possible
This commit is contained in:
parent
5640c42469
commit
a157966bb9
2 changed files with 23 additions and 0 deletions
|
@ -155,6 +155,13 @@ class Post extends BaseObject
|
|||
$edpost = false;
|
||||
}
|
||||
|
||||
// Editing on items of not subscribed users isn't currently possible
|
||||
// There are some issues on editing that prevent this.
|
||||
// But also it is an issue of the supported protocols that doesn't allow editing at all.
|
||||
if ($item['uid'] == 0) {
|
||||
$edpost = false;
|
||||
}
|
||||
|
||||
if (($this->getDataValue('uid') == local_user()) || $this->isVisiting()) {
|
||||
$dropping = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue