mirror of
https://github.com/friendica/friendica
synced 2025-04-26 22:30:18 +00:00
Use channels for non public content
This commit is contained in:
parent
a1f6e6e871
commit
b00c2070d7
9 changed files with 67 additions and 58 deletions
|
@ -340,13 +340,8 @@ class Profile extends BaseModule
|
|||
];
|
||||
}
|
||||
|
||||
if (in_array($contact['network'], Protocol::FEDERATED)) {
|
||||
$channel_settings_label = $this->t('Channel Settings');
|
||||
$channel_frequency = Contact\User::getChannelFrequency($contact['id'], $this->session->getLocalUserId());
|
||||
} else {
|
||||
$channel_settings_label = null;
|
||||
$channel_frequency = null;
|
||||
}
|
||||
$channel_settings_label = $this->t('Channel Settings');
|
||||
$channel_frequency = Contact\User::getChannelFrequency($contact['id'], $this->session->getLocalUserId());
|
||||
|
||||
$poll_interval = null;
|
||||
if ((($contact['network'] == Protocol::FEED) && !$this->config->get('system', 'adjust_poll_frequency')) || ($contact['network'] == Protocol::MAIL)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue