mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 05:23:17 +00:00
Update Inbox
This commit is contained in:
parent
3d8ae361d7
commit
79d73c508c
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue