mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-09 00:24:27 +02:00
Mode depending control for the behaviour with blocked contacts
This commit is contained in:
parent
ec54b303c5
commit
f542211189
14 changed files with 100 additions and 85 deletions
|
@ -22,6 +22,7 @@
|
|||
|
||||
namespace Friendica\Module\Update;
|
||||
|
||||
use Friendica\Content\Conversation;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\DI;
|
||||
use Friendica\Module\Conversation\Community as CommunityModule;
|
||||
|
@ -39,7 +40,7 @@ class Community extends CommunityModule
|
|||
|
||||
$o = '';
|
||||
if (!empty($request['force'])) {
|
||||
$o = DI::conversation()->create(self::getItems(), 'community', true, false, 'commented', DI::userSession()->getLocalUserId());
|
||||
$o = DI::conversation()->create(self::getItems(), Conversation::MODE_COMMUNITY, true, false, 'commented', DI::userSession()->getLocalUserId());
|
||||
}
|
||||
|
||||
System::htmlUpdateExit($o);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue