event/poll: add missing omitempty
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run

This commit is contained in:
Tulir Asokan 2025-09-16 18:02:14 +03:00
commit 5af25d2eb7

View file

@ -35,7 +35,7 @@ type MSC1767Message struct {
}
type PollStartEventContent struct {
RelatesTo *RelatesTo `json:"m.relates_to"`
RelatesTo *RelatesTo `json:"m.relates_to,omitempty"`
Mentions *Mentions `json:"m.mentions,omitempty"`
PollStart struct {
Kind string `json:"kind"`