From 98f8ca2cdc6b551c85160e381b006d2a454cfdd9 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sun, 27 Oct 2024 01:41:03 +0300 Subject: [PATCH] hicli/database: fix json tag on MegolmSessionID --- pkg/hicli/database/event.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/hicli/database/event.go b/pkg/hicli/database/event.go index 7006a87..2a8f2a8 100644 --- a/pkg/hicli/database/event.go +++ b/pkg/hicli/database/event.go @@ -316,7 +316,7 @@ type Event struct { RelatesTo id.EventID `json:"relates_to,omitempty"` RelationType event.RelationType `json:"relation_type,omitempty"` - MegolmSessionID id.SessionID `json:"-,omitempty"` + MegolmSessionID id.SessionID `json:"-"` DecryptionError string `json:"decryption_error,omitempty"` SendError string `json:"send_error,omitempty"`