Update Inbox

This commit is contained in:
Daniel Supernault 2024-11-19 02:24:00 -07:00
parent 3d8ae361d7
commit 79d73c508c
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

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