Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update/webmention handling #9

Merged
merged 4 commits into from Jan 14, 2020
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Mirror "favorite" Webmentions as "like"

  • Loading branch information
jeremyfelt committed Jan 14, 2020
commit 3e79b0bff4db70ab77ffd266e95ef20c6c582888
@@ -68,6 +68,11 @@
$type = 'reply';
}

// Mirror "favorite" to the "like" type.
if ( 'favorite' === $type ) {
$type = 'like';
}

// Leave "read" actions as private for now.
if ( 'read' === $type ) {
continue;
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.