mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
event/poll: add missing omitempty
This commit is contained in:
parent
c37ddcc3a5
commit
5af25d2eb7
1 changed files with 1 additions and 1 deletions
|
|
@ -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"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue