fixing output for matrix message
This commit is contained in:
@@ -167,7 +167,7 @@ class VideoController extends Controller
|
||||
|
||||
if (config('matrix.enabled') && config('matrix.token') && config('matrix.homeserver') && config('matrix.room')) {
|
||||
$nsfw = in_array('nsfw', $video->getTagArrayNormalizedAttribute());
|
||||
$nsfw = $nsfw ? ' :exclamation: **NSFW** :exclamation:' : '';
|
||||
$nsfw = $nsfw ? ' NSFW' : '';
|
||||
$message = config('matrix.message');
|
||||
$message = str_replace(
|
||||
['<USER>', '<ID>', '<NSFW>'],
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 359 KiB |
Reference in New Issue
Block a user