mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:10:11 +00:00
Merge pull request #8697 from MrPetovan/task/8691-like-links-one-way
Make like links one way
This commit is contained in:
commit
235f4eaa89
16 changed files with 137 additions and 102 deletions
|
@ -380,8 +380,11 @@ class Post
|
|||
}
|
||||
|
||||
// Disable features that aren't available in several networks
|
||||
if ($buttons["dislike"] && !in_array($item["network"], [Protocol::ACTIVITYPUB, Protocol::DFRN, Protocol::DIASPORA])) {
|
||||
$buttons["dislike"] = false;
|
||||
if (!in_array($item["network"], [Protocol::ACTIVITYPUB, Protocol::DFRN, Protocol::DIASPORA])) {
|
||||
if ($buttons["dislike"]) {
|
||||
$buttons["dislike"] = false;
|
||||
}
|
||||
|
||||
$isevent = false;
|
||||
$tagger = '';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue