Remove "comment" webmention type, as it is the same as a reply
This commit is contained in:
parent
f2e8bd7387
commit
4179ee10e9
@ -12,7 +12,6 @@ enum MentionType {
|
|||||||
{
|
{
|
||||||
return match ($this) {
|
return match ($this) {
|
||||||
MentionType::Like => "like",
|
MentionType::Like => "like",
|
||||||
MentionType::Comment => "comment",
|
|
||||||
MentionType::Reply => "reply",
|
MentionType::Reply => "reply",
|
||||||
MentionType::Mention => "mention"
|
MentionType::Mention => "mention"
|
||||||
};
|
};
|
||||||
@ -22,7 +21,6 @@ enum MentionType {
|
|||||||
{
|
{
|
||||||
switch($string) {
|
switch($string) {
|
||||||
case "like": return MentionType::Like;
|
case "like": return MentionType::Like;
|
||||||
case "comment": return MentionType::Comment;
|
|
||||||
case "reply": return MentionType::Reply;
|
case "reply": return MentionType::Reply;
|
||||||
default: return MentionType::Mention;
|
default: return MentionType::Mention;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user