filter: merge kind from the base event too, otherwise kind filters match against 0.

This commit is contained in:
Yasuhiro Matsumoto
2026-07-15 03:18:02 +09:00
parent b46e9c7dd5
commit e3aba47046

View File

@@ -86,6 +86,9 @@ example:
if evt.Sig == [64]byte{} {
evt.Sig = baseEvent.Sig
}
if evt.Kind == 0 {
evt.Kind = baseEvent.Kind
}
if evt.Content == "" {
evt.Content = baseEvent.Content
}