mirror of
https://github.com/openvk/openvk
synced 2024-11-13 10:39:24 +03:00
Make comment notifications more informative
Quote length increased to 400 also tags are being stripped now
This commit is contained in:
parent
25be996256
commit
d321b524fd
1 changed files with 1 additions and 1 deletions
|
@ -8,6 +8,6 @@ final class CommentNotification extends Notification
|
|||
|
||||
function __construct(User $recipient, Comment $comment, $postable, User $commenter)
|
||||
{
|
||||
parent::__construct($recipient, $postable, $commenter, time(), ovk_proc_strtr($comment->getText(), 10));
|
||||
parent::__construct($recipient, $postable, $commenter, time(), ovk_proc_strtr(strip_tags($comment->getText()), 400));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue