aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Comments/Comment.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Comments/Comment.php b/lib/private/Comments/Comment.php
index 7368425174a..c838e9571c6 100644
--- a/lib/private/Comments/Comment.php
+++ b/lib/private/Comments/Comment.php
@@ -233,6 +233,7 @@ class Comment implements IComment {
return [];
}
$uids = array_unique($mentions[0]);
+ usort($uids, 'mb_strlen');
$result = [];
foreach ($uids as $uid) {
$cleanUid = trim(substr($uid, 1), '"');