Add length argument to plugin
This commit is contained in:
parent
2207eacc92
commit
2edf535ecd
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user