diff --git a/app/Http/Controllers/VideoController.php b/app/Http/Controllers/VideoController.php index cc165a3..b3c320a 100644 --- a/app/Http/Controllers/VideoController.php +++ b/app/Http/Controllers/VideoController.php @@ -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( ['', '', ''], diff --git a/app/Http/Controllers/tmp/test.png b/app/Http/Controllers/tmp/test.png index 0f88676..426ce7c 100644 Binary files a/app/Http/Controllers/tmp/test.png and b/app/Http/Controllers/tmp/test.png differ diff --git a/blah.log b/blah.log deleted file mode 100644 index 90e526e..0000000 --- a/blah.log +++ /dev/null @@ -1 +0,0 @@ -{"errcode":"M_UNKNOWN","error":"'body' not a string type"} \ No newline at end of file diff --git a/blah2.log b/blah2.log deleted file mode 100644 index 1016a60..0000000 --- a/blah2.log +++ /dev/null @@ -1 +0,0 @@ -{"event_id":"$RcOS8ZN5HNujEnr9cEjFb-2UJ3A7pj0rSm4RiSZ9WIk"} \ No newline at end of file diff --git a/config/matrix.php b/config/matrix.php index bc9db13..ec40068 100644 --- a/config/matrix.php +++ b/config/matrix.php @@ -4,5 +4,5 @@ return [ 'homeserver' => env('MATRIX_HOMESERVER'), 'room' => env('MATRIX_ROOMID'), 'token' => env('MATRIX_TOKEN'), - 'message' => ' uploaded a new webm: https://w0bm.com/', + 'message' => ' uploaded a new webm: https://w0bm.com/', ];