From edef968c642d5e256c2cc657c316e5c4612cbd4e Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Wed, 21 Aug 2024 10:46:24 +0300 Subject: [PATCH] event: remove omitemptys from MSC1767Audio --- event/audio.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/event/audio.go b/event/audio.go index 0fc0818b..798acc8c 100644 --- a/event/audio.go +++ b/event/audio.go @@ -1,8 +1,8 @@ package event type MSC1767Audio struct { - Duration int `json:"duration,omitempty"` - Waveform []int `json:"waveform,omitempty"` + Duration int `json:"duration"` + Waveform []int `json:"waveform"` } type MSC3245Voice struct{}