We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4ecb1f commit fcc04d2Copy full SHA for fcc04d2
extensions/realtime/src/Content/ForumContent.php
@@ -1,5 +1,12 @@
1
<?php
2
3
+/*
4
+ * This file is part of Flarum.
5
+ *
6
+ * For detailed copyright and license information, please view the
7
+ * LICENSE file that was distributed with this source code.
8
+ */
9
+
10
namespace Flarum\Realtime\Content;
11
12
use Flarum\Frontend\Document;
@@ -11,7 +18,7 @@ public function __construct(
18
protected SettingsRepositoryInterface $settings
19
) {
13
20
}
14
-
21
15
22
public function __invoke(Document $document): void
16
23
{
17
24
$document->payload['flarum-realtime.typing-indicator'] = (bool) $this->settings->get('flarum-realtime.typing-indicator');
0 commit comments