mirror of
https://github.com/friendica/friendica
synced 2025-04-23 10:30:11 +00:00
Support for Bluesky reshares in the core
This commit is contained in:
parent
ecfaa950ea
commit
5b23c1c67f
2 changed files with 6 additions and 2 deletions
|
@ -206,7 +206,7 @@ class Post
|
|||
$connector = !in_array($item['network'], Protocol::NATIVE_SUPPORT) ? DI::l10n()->t('Connector Message') : false;
|
||||
|
||||
$shareable = in_array($conv->getProfileOwner(), [0, DI::userSession()->getLocalUserId()]) && $item['private'] != Item::PRIVATE;
|
||||
$announceable = $shareable && in_array($item['network'], [Protocol::ACTIVITYPUB, Protocol::DFRN, Protocol::DIASPORA, Protocol::TWITTER, Protocol::TUMBLR]);
|
||||
$announceable = $shareable && in_array($item['network'], [Protocol::ACTIVITYPUB, Protocol::DFRN, Protocol::DIASPORA, Protocol::TWITTER, Protocol::TUMBLR, Protocol::BLUESKY]);
|
||||
$commentable = ($item['network'] != Protocol::TUMBLR);
|
||||
|
||||
// On Diaspora only toplevel posts can be reshared
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue