*/
namespace Friendica\Content;
use Friendica\Core\Protocol;
use Friendica\Content\Text\HTML;
*/
namespace Friendica\Content;
use Friendica\Core\Protocol;
use Friendica\Content\Text\HTML;
$forumlist = [];
$fields = ['id', 'url', 'name', 'micro', 'thumb'];
$forumlist = [];
$fields = ['id', 'url', 'name', 'micro', 'thumb'];
- $condition = [$condition_str, Protocol::DFRN, $uid];
+ $condition = [$condition_str, Protocol::DFRN, Protocol::ACTIVITYPUB, $uid];
$contacts = DBA::select('contact', $fields, $condition, $params);
if (!$contacts) {
return($forumlist);
$contacts = DBA::select('contact', $fields, $condition, $params);
if (!$contacts) {
return($forumlist);
*
* Sidebar widget to show subcribed friendica forums. If activated
* in the settings, it appears at the notwork page sidebar
*
* Sidebar widget to show subcribed friendica forums. If activated
* in the settings, it appears at the notwork page sidebar
- 'micro' => System::removedBaseUrl(ProxyUtils::proxifyUrl($contact['micro'], false, ProxyUtils::SIZE_MICRO)),
+ 'micro' => DI::baseUrl()->remove(ProxyUtils::proxifyUrl($contact['micro'], false, ProxyUtils::SIZE_MICRO)),