1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-21 23:32:39 +00:00

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;
}
$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);