[PLUGIN][RepeatNote] Do not notify about clone note

Fix redirecion after action
Fix typo in activitypub handler
This commit is contained in:
2021-12-28 17:49:46 +00:00
parent 182c6265a3
commit 4d8e39bf69
4 changed files with 10 additions and 9 deletions

View File

@@ -109,7 +109,7 @@ class Favourite extends NoteHandlerPlugin
$query_string = $request->getQueryString();
// Concatenating get parameter to redirect the user to where he came from
$favourite_action_url .= !\is_null($query_string) ? '?from=' . mb_substr($query_string, 2) : '';
$favourite_action_url .= '?from=' . urlencode($request->getRequestUri());
$extra_classes = $is_favourite ? 'note-actions-set' : 'note-actions-unset';
$favourite_action = [