hicli/database: fix json tag on MegolmSessionID

This commit is contained in:
Tulir Asokan 2024-10-27 01:41:03 +03:00
parent ca76182b81
commit 98f8ca2cdc

View file

@ -316,7 +316,7 @@ type Event struct {
RelatesTo id.EventID `json:"relates_to,omitempty"` RelatesTo id.EventID `json:"relates_to,omitempty"`
RelationType event.RelationType `json:"relation_type,omitempty"` RelationType event.RelationType `json:"relation_type,omitempty"`
MegolmSessionID id.SessionID `json:"-,omitempty"` MegolmSessionID id.SessionID `json:"-"`
DecryptionError string `json:"decryption_error,omitempty"` DecryptionError string `json:"decryption_error,omitempty"`
SendError string `json:"send_error,omitempty"` SendError string `json:"send_error,omitempty"`