use .Find() instead of .GetFirst() everywhere.

This commit is contained in:
fiatjaf
2025-04-04 23:07:18 -03:00
parent d97a2f1cf2
commit fbb40f3b74
4 changed files with 13 additions and 13 deletions

View File

@@ -47,7 +47,7 @@ router.Route().
return true
case event.Kind <= 12 && event.Kind >= 9:
return true
case event.Tags.GetFirst([]string{"h", ""}) != nil:
case event.Tags.Find("h") != nil:
return true
default:
return false