Remove "comment" webmention type, as it is the same as a reply

This commit is contained in:
Lewis Dale 2023-03-14 09:17:00 +00:00
parent f2e8bd7387
commit 4179ee10e9

View File

@ -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;
}