diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index 0dace39db0..356044cbe9 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -282,6 +282,7 @@ class OStatusPlugin extends Plugin 'type' => 'mention', 'text' => $target, 'position' => $pos, + 'length' => mb_strlen($target), 'url' => $profile->getUrl()); } } catch (Exception $e) { @@ -309,6 +310,7 @@ class OStatusPlugin extends Plugin 'type' => 'mention', 'text' => $target, 'position' => $pos, + 'length' => mb_strlen($target), 'url' => $profile->getUrl()); break; }