mirror of
https://github.com/friendica/friendica
synced 2025-04-26 05:10:11 +00:00
Merge pull request #13618 from annando/display
Frio: Improved display of disabled activities
This commit is contained in:
commit
a1b5ec94fb
8 changed files with 54 additions and 30 deletions
|
@ -889,9 +889,10 @@ class Conversation
|
|||
$condition['author-hidden'] = false;
|
||||
}
|
||||
|
||||
if ($this->config->get('system', 'emoji_activities')) {
|
||||
$emojis = $this->getEmojis($uriids);
|
||||
$quoteshares = $this->getQuoteShares($uriids);
|
||||
$emojis = $this->getEmojis($uriids);
|
||||
$quoteshares = $this->getQuoteShares($uriids);
|
||||
|
||||
if (!$this->config->get('system', 'legacy_activities')) {
|
||||
$condition = DBA::mergeConditions($condition, ["(`gravity` != ? OR `origin`)", ItemModel::GRAVITY_ACTIVITY]);
|
||||
}
|
||||
|
||||
|
|
|
@ -597,6 +597,7 @@ class Post
|
|||
'quoteshares' => $this->getQuoteShares($item['quoteshares']),
|
||||
'reactions' => $reactions,
|
||||
'responses' => $responses,
|
||||
'legacy_activities' => DI::config()->get('system', 'legacy_activities'),
|
||||
'switchcomment' => DI::l10n()->t('Comment'),
|
||||
'reply_label' => DI::l10n()->t('Reply to %s', $profile_name),
|
||||
'comment_html' => $comment_html,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue