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) {
|
||||
MentionType::Like => "like",
|
||||
MentionType::Comment => "comment",
|
||||
MentionType::Reply => "reply",
|
||||
MentionType::Mention => "mention"
|
||||
};
|
||||
@ -22,7 +21,6 @@ enum MentionType {
|
||||
{
|
||||
switch($string) {
|
||||
case "like": return MentionType::Like;
|
||||
case "comment": return MentionType::Comment;
|
||||
case "reply": return MentionType::Reply;
|
||||
default: return MentionType::Mention;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user