Add "discourse" as protocol

This commit is contained in:
Michael 2019-11-24 20:06:47 +00:00
parent 1cf44d92c3
commit fdaac8a681
3 changed files with 7 additions and 0 deletions

View file

@ -89,6 +89,10 @@ class Widget
// Always hide content from these networks
$networks = ['face', 'apdn'];
if (!Addon::isEnabled("discourse")) {
$networks[] = Protocol::DISCOURSE;
}
if (!Addon::isEnabled("statusnet")) {
$networks[] = Protocol::STATUSNET;
}