Browse Source

Update Inbox

Daniel Supernault 7 months ago
parent
commit
79d73c508c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Util/ActivityPub/Inbox.php

+ 2 - 2
app/Util/ActivityPub/Inbox.php

@@ -417,8 +417,8 @@ class Inbox
             return;
         }
 
-        $msg = $activity['content'];
-        $msgText = strip_tags($activity['content']);
+        $msg = Purify::clean($activity['content']);
+        $msgText = strip_tags($msg);
 
         if (Str::startsWith($msgText, '@'.$profile->username)) {
             $len = strlen('@'.$profile->username);